Load control system responsive to the location of an occupant and/or mobile device

ABSTRACT

A load control system for controlling an electrical load in a space of a building occupied by an occupant may include a controller configured to determine the location of the occupant, and a load control device configured to automatically control the electrical load in response to the location of the occupant. The load control system may include a mobile device adapted to be located on or immediately adjacent the occupant and configured to transmit and receive wireless signals. The load control device may be configured to automatically control the electrical load when the mobile device is located in the space. The load control system may further comprise an occupancy sensor and the load control device may automatically control the electrical load when the occupancy sensor indicates that the space is occupied and the mobile device is located in the space.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.15/230,263, filed Aug. 5, 2016, which claims the benefit of U.S.Provisional Patent Application No. 62/201,522, filed Aug. 5, 2015, theentire disclosure of which is incorporated by reference herein.

BACKGROUND

A user environment, such as a residence or an office building forexample, may be configured using various types of load control systems.A lighting control system may be used to control the lighting loads inthe user environment. A motorized window treatment control system may beused to control the natural light provided to the user environment. Aheating, ventilation, and air conditioning (HVAC) system may be used tocontrol the temperature in the user environment.

Each load control system may include various control devices, includingcontrol-source devices and control-target devices. The control-targetdevices may receive digital messages, which may include load controlinstructions, for controlling an electrical load from one or more of thecontrol-source devices. The control-target devices may be capable ofcontrolling an electrical load. The control-source devices may becapable of controlling the electrical load via the control-targetdevice. Examples of control-target devices may include lighting controldevices (e.g., a dimmer switch, an electronic switch, a ballast, or alight-emitting diode (LED) driver), a motorized window treatment, atemperature control device (e.g., a thermostat), an AC plug-in loadcontrol device, and/or the like. Examples of control-source devices mayinclude remote control devices, occupancy sensors, daylight sensors,temperature sensors, and/or the like.

Although control-source devices may be capable of controlling acontrol-target device, a control-source device may not be capable ofcontrolling a control-target device, based on a user location and/or amobile device. For example, a control-source device may not be capableof setting a control-target device to a lighting intensity, based on auser and/or mobile device located within the load control system. Thismay be desirable, for example, for users located in an office that maydesire to have a lighting intensity, temperature level, and/or naturallight provided at a predefined level.

SUMMARY

The present disclosure relates to a load control system for controllingthe amount of power delivered to one or more electrical load, and moreparticularly, to a load control system able to control one or moreelectrical loads in response to the location of a control device and/oran occupant.

As described herein, a load control system for controlling an electricalload in a space of a building occupied by an occupant may include acontroller that may determine the location of the occupant, and a loadcontrol device that may automatically control the electrical load inresponse to the location of the occupant. The load control system mayinclude a mobile device that may be located on or adjacent the occupantand that may transmit and receive wireless signals. The load controldevice may automatically control the electrical load when the mobiledevice is located in the space. The load control device may include alighting control device for controlling the intensity of a lightingload, for example, to a preset intensity that is dependent upon a uniqueidentifier of the mobile device. The load control device and/or thecontroller may learn the preset intensity for the mobile device. Theload control system may further include an occupancy sensor and the loadcontrol device may automatically control the electrical load when theoccupancy sensor indicates that the space is occupied and the mobiledevice is located in the space.

A load control system for controlling an electrical load may include aload control device that may control the electrical load, a mobiledevice that may transmit and receive wireless signals, and a systemcontroller that may receive the wireless signals from the mobile deviceand to determine the location of the mobile device. The systemcontroller may automatically transmit a command to the load controldevice for controlling the electrical load when the controllerdetermines that the mobile device is in a space.

A load control system for controlling an electrical load may include aload control device that may control the electrical load, and a mobiledevice that may transmit a wireless signal including a command forcontrolling the electrical load. The mobile device may determine itslocation within the building and adjust its operation in response to thelocation.

A mobile device for use in a control system having one or more controldevices located at fixed locations around a building is also describedherein. The mobile device may include a wireless communication circuitfor receiving wireless signals from the control devices, and acontroller responsive to the wireless communication circuit. Thecontroller may measure signal strengths of the wireless signals receivedfrom the control devices and store a set of measured signal strengths ata first location as a first signal strength signature. The controllermay subsequently measure the signal strengths of the wireless signalsreceived from the control devices and determine that the mobile deviceis at the first location by comparing the measured signal strengths withthe first signal strength signature.

Other features and advantages of the present disclosure will becomeapparent from the following detailed description that refers to theaccompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A is a diagram of an example load control system for controllingone or more electrical loads.

FIG. 1B is a diagram of example received signal strength indications(RSSIs) of beacons for controlling electrical loads in a load controlsystem.

FIG. 2 is a flowchart of an example control procedure for controllingelectrical loads in response to the location of a mobile device and/oran occupant.

FIG. 3 is a flowchart of an example button press procedure that may beexecuted by a remote control device.

FIG. 4 is a flowchart of an example control procedure for controllingelectrical loads in response to the location of a mobile device and/oran occupant.

FIG. 5 is a flowchart of another example control procedure forcontrolling electrical loads in response to the location of a mobiledevice and/or an occupant.

FIG. 6 is a flowchart of an example control procedure for controllingelectrical loads in response to the location of one or more mobilesdevices and/or occupants when there may be multiple mobile devicesand/or occupants in a single space.

FIG. 7 is a flowchart of an example control procedure for automaticallycontrolling electrical loads in response to the location of a mobiledevice and/or an occupant if the space in which the mobile device and/oroccupant is located is occupied.

FIGS. 8A, 8B, 8C are a block diagrams illustrating example timelines inwhich control devices may switch communication protocols.

FIG. 9 is a flowchart of an example procedure for switchingcommunication protocols based on a received passcode.

FIG. 10 is a block diagram illustrating an example mobile device.

FIG. 11 is a block diagram of an example system controller.

FIG. 12 is a block diagram illustrating an example load control device.

FIG. 13 is a block diagram illustrating an example beacon device.

DETAILED DESCRIPTION

FIG. 1A is a diagram of an example load control system 100 forcontrolling the amount of power delivered from an alternating-current(AC) power source 112 to one or more electrical loads. The load controlsystem 100 may be installed in a building having one or more rooms 102,104, 106. The load control system 100 may include control devices thatmay communicate with each other via wireless signals, e.g.,radio-frequency (RF) signals 108. Although a separate AC power source112 is depicted for each of the rooms 12, 104, 106, one or more AC powersources 112 may be used for each of the rooms 102, 104, 106. The ACpower sources 112 used for each of the rooms 102, 104, 106 may be thesame, or different, AC power source 112. The AC power sources 112 mayprovide electrical power to dimmer switches 120 and/or the AC powersources 112 may be provide electrical power to one or more other controldevices located within rooms 102, 104, 106.

The load control system 100 may include a wired digital communicationlink coupled to one or more of the control devices to provide forcommunication between the control devices. The control devices of theload control system 100 may include a number of control-source devicesand/or control-target devices. The control-source devices may includeinput devices operable to transmit digital messages in response to userinputs, occupancy/vacancy conditions, changes in measured lightintensity, etc. Control-target devices may include load control devicesor other devices operable to receive digital messages fromcontrol-source devices. The control-target devices may controlrespective electrical loads in response to the received digitalmessages. A single control device of the load control system 100 mayoperate as both a control-source and a control-target device.

The control-source devices may transmit digital messages directly orindirectly to the control-target devices. The load control system 100may include a system controller 110 (e.g., a central controller or loadcontroller) operable to communicate digital messages to and from thecontrol devices (e.g., the control-source devices and/or thecontrol-target devices). For example, the system controller 110 mayreceive digital messages from the control-source devices and transmitdigital messages to the control-target devices in response to thedigital messages received from the control-source devices. Thecontrol-source devices, the control-target devices, and the systemcontroller 110 may transmit and receive the RF signals 108 using aproprietary RF protocol, such as the ClearConnect® protocol. The RFsignals 108 may be transmitted using a different RF protocol, such as, astandard protocol, for example, one of Wi-Fi®, ZIGBEE®, Z-WAVE®, KNX-RF,ENOCEAN RADIO protocols, or a different proprietary protocol.

The load control system 100 may include one or more load controldevices, e.g., dimmer switches 120, for controlling respective lightingloads 122 located in each of the rooms 102, 104, 106. A dimmer switch120 may be adapted to be wall-mounted in a standard electrical wallbox.The dimmer switch 120 may include a tabletop or plug-in load controldevice (such as lighting load 122, shown in FIG. 1A). The dimmer switch120 may include a toggle actuator (e.g., a button) and an intensityadjustment actuator (e.g., a rocker switch). Actuations (e.g.,successive actuations) of the toggle actuator may toggle, e.g., turn offand on, the respective lighting load 122. Actuations of an upper portionor a lower portion of the intensity adjustment actuator may respectivelyincrease or decrease the amount of power delivered to the respectivelighting load 122 and thus increase or decrease the intensity of thereceptive lighting load from a minimum intensity (e.g., approximately1%) to a maximum intensity (e.g., approximately 100%). The dimmer switch120 may include one or more visual indicators, e.g., light-emittingdiodes (LEDs), which may be arranged in a linear array and may beilluminated to provide feedback of the intensity of the respectivelighting load 122. Examples of wall-mounted dimmer switches aredescribed in greater detail in U.S. Pat. No. 5,248,919, issued Sep. 28,1993, entitled LIGHTING CONTROL DEVICE, and U.S. Patent ApplicationPublication No. 2014/0132475, published May 15, 2014, entitled WIRELESSLOAD CONTROL DEVICE, the entire disclosures of which are herebyincorporated by reference.

The dimmer switch 120 may wirelessly receive digital messages via the RFsignals 108 (e.g., from the system controller 110) and to control therespective lighting load 122 in response to the received digitalmessages. Examples of dimmer switches operable to transmit and receivedigital messages is described in greater detail in commonly-assignedU.S. Patent Application Publication No. 2009/0206983, published Aug. 20,2009, entitled COMMUNICATION SYSTEM FOR A RADIO-FREQUENCY LOAD CONTROLSYSTEM, the entire disclosure of which is hereby incorporated byreference.

The load control system 100 may include one or more remotely-locatedload control devices, such as light-emitting diode (LED) drivers 130 fordriving respective LED light sources 132 (e.g., LED light engines). TheLED drivers 130 may be located remotely, for example, in or adjacent tothe lighting fixtures of the respective LED light sources 132. The LEDdrivers 130 may receive digital messages via the RF signals 108 (e.g.,from the system controller 110) and to control the respective LED lightsources 132 in response to the received digital messages. The LEDdrivers 130 may adjust the color temperature of the respective LED lightsources 132 in response to the received digital messages. Examples ofLED drivers that control the color temperature of LED light sources aredescribed in greater detail in commonly-assigned U.S. Patent ApplicationPublication No. 2014/0312777, published Oct. 23, 2014, entitled SYSTEMSAND METHODS FOR CONTROLLING COLOR TEMPERATURE, the entire disclosure ofwhich is hereby incorporated by reference. The load control system 100may further include other types of remotely-located load controldevices, such as, for example, electronic dimming ballasts for drivingfluorescent lamps.

The load control system 100 may include one or more plug-in load controldevices 140, for controlling respective plug-in electrical loads. Forexample, a plug-in lighting load, such as a floor lamp 142 or a tablelamp, may be plugged into one of the plug-in load control devices 140,such that the plug-in load control device is coupled in series betweenthe AC power source and the plug-in lighting load. The plug-in loadcontrol device 140 may receive digital messages via the RF signals 108(e.g., from the system controller 110) and to turn on and off or adjustthe intensity of the plug-in lighting load in response to the receiveddigital messages. An appliance, such as a television 144, may be pluggedinto one of the plug-in load control devices 140, and the plug-in loadcontrol device may be turn the appliance on and off in response to thedigital messages received via the RF signals 108.

Alternatively, or additionally, the load control system 100 may includecontrollable receptacles 141 for controlling plug-in electrical loadsplugged into the receptacles 141. The load control system 100 mayinclude one or more load control devices or appliances that may receivethe wireless signals 108 from the system controller 110, such as aspeaker 146 (e.g., part of an audio/visual or intercom system), which isable to generate audible sounds, such as alarms, music, intercomfunctionality, etc.

The load control system 100 may include one or more daylight controldevices, e.g., motorized window treatments 150, such as motorizedcellular shades, for controlling the amount of daylight entering thebuilding in which the load control system 100 is installed. Themotorized window treatments 150 may receive digital messages via the RFsignals 108 (e.g., from the system controller 110) and may adjust theposition of covering material 152, such as a window treatment fabric, inresponse to the received digital messages. The load control system 100may include other types of daylight control devices, such as, forexample, a cellular shade, a drapery, a Roman shade, a Venetian blind, aPersian blind, a pleated blind, a tensioned roller shade systems, anelectrochromic or smart window, and/or other suitable daylight controldevices.

The load control system 100 may include one or more temperature controldevices 160 (e.g., thermostats) for controlling a room temperature ineach of the rooms 102, 104, 106. A temperature control device 160 may becoupled to a heating, ventilation, and air conditioning (HVAC) system162 via a control link (e.g., an analog control link or a wired digitalcommunication link). The temperature control device 160 may wirelesslycommunicate digital messages with a controller of the HVAC system 162.The temperature control device 160 may include a temperature sensor formeasuring the room temperature of the respective room 102, 104, 106 andmay control the HVAC system 162 to adjust the temperature in the room toa respective setpoint temperature.

The load control system 100 may include one or more other types of loadcontrol devices, such as, for example, a screw-in luminaire including adimmer circuit and an incandescent or halogen lamp; a screw-in luminaireincluding a ballast and a compact fluorescent lamp; a screw-in luminaireincluding an LED driver and an LED light source; an electronic switch,controllable circuit breaker, or other switching device for turning anappliance on and off; a controllable power strip for controlling one ormore plug-in loads; a motor control unit for controlling a motor load,such as a ceiling fan or an exhaust fan; a drive unit for controlling aprojection screen; motorized interior or exterior shutters; a thermostatfor a heating and/or cooling system; an air conditioner; a compressor;an electric baseboard heater controller; a controllable damper; avariable air volume controller; a fresh air intake controller; aventilation controller; hydraulic valves for use in radiators andradiant heating systems; a humidity control unit; a humidifier; adehumidifier; a water heater; a boiler controller; a pool pump; arefrigerator; a freezer; a computer monitor; a video camera; an audiosystem or amplifier; an elevator; a power supply; a generator; anelectric charger, such as an electric vehicle charger; an alternativeenergy controller; and/or other load control devices.

The load control system 100 may include one or more input devices, e.g.,such as battery-powered remote control devices 170, occupancy sensors172, and/or daylight sensors 174. The input devices may be fixed ormovable input devices. The battery-powered remote control devices 170,the occupancy sensors 172, and/or the daylight sensors 174 may bewireless control devices (e.g., RF transmitters) that may transmitdigital messages via the RF signals 108 to the system controller 110(e.g., directly to the system controller). For example, thebattery-powered remote control device 170 may transmit digital messagesto the system controller 110 via the RF signals 108 in response to anactuation of one or more buttons of the battery-powered remote controldevice. The system controller 110 may transmit one or more digitalmessages to the load control devices (e.g., the dimmer switches 120, theLED drivers 130, the plug-in load control devices 140, the motorizedwindow treatments 150, and/or the temperature control devices 160) inresponse to the digital messages received from the battery-poweredremote control devices 170, the occupancy sensors 172, and/or thedaylight sensors 174. The battery-powered remote control devices 170,the occupancy sensors 172, and/or the daylight sensors 174 may transmitdigital messages directly to the dimmer switches 120, the LED drivers130, the plug-in load control devices 140, the motorized windowtreatments 150, and the temperature control devices 160. The inputdevices may also include a door entrance sensor, a door movement sensor,and/or a keycard door opening device.

The occupancy sensors 172 may detect occupancy and/or vacancy conditionsin the rooms 102, 106 in which the occupancy sensors are mounted. Theoccupancy sensors 172 may transmit digital messages to the systemcontroller 110 via the RF signals 108 in response to detecting theoccupancy or vacancy conditions. The system controller 110 may turn oneor more of the lighting loads 122 and/or the LED light sources 132 onand off in response to receiving an occupied command and a vacantcommand, respectively. The occupancy sensors 172 may operate as vacancysensors, such that the lighting loads are turned off in response todetecting a vacancy condition (e.g., and not turned on in response todetecting an occupancy condition). Examples of RF load control systemshaving occupancy and vacancy sensors are described in greater detail incommonly-assigned U.S. Pat. No. 8,009,042, issued Aug. 30, 2011,entitled RADIO-FREQUENCY LIGHTING CONTROL SYSTEM WITH OCCUPANCY SENSING;U.S. Pat. No. 8,199,010, issued Jun. 12, 2012, entitled METHOD ANDAPPARATUS FOR CONFIGURING A WIRELESS SENSOR; and U.S. Pat. No.8,228,184, issued Jul. 24, 2012, entitled BATTERY-POWERED OCCUPANCYSENSOR, the entire disclosures of which are hereby incorporated byreference.

The daylight sensors 174 may measure a total light intensity in the room102, 104 in which the daylight sensor is installed. The daylight sensors174 may transmit digital messages, including the measured lightintensity for example, to the system controller 110 via the RF signals108 for controlling the intensities of one or more of the lighting loads122 and the LED light sources 132 in response to the measured lightintensity. Examples of RF load control systems having daylight sensorsare described in greater detail in commonly-assigned U.S. Pat. No.8,410,706, issued Apr. 2, 2013, entitled METHOD OF CALIBRATING ADAYLIGHT SENSOR; and U.S. Pat. No. 8,451,116, issued May 28, 2013,entitled WIRELESS BATTERY-POWERED DAYLIGHT SENSOR, the entiredisclosures of which are hereby incorporated by reference.

The load control system 100 may include one or more wireless temperaturesensors (e.g., incorporated in the temperature control devices 160 orseparate from the temperature control devices 160) located in the rooms102, 104, 106 for measuring the room temperatures. The HVAC system 162may turn a compressor on and off for cooling the rooms 102, 104, 106 andto turn a heating source on and off for heating the rooms in response tothe control signals received from the temperature control devices 160.The HVAC system 162 may turn a fan of the HVAC system on and off inresponse to the control signals 108 received from the temperaturecontrol devices 160. The temperature control devices 160 and/or the HVACsystem 162 may control one or more controllable dampers to control theair flow in each of the rooms 102, 104, 106.

The load control system 100 may include other types of input devices,such as temperature sensors, humidity sensors, radiometers, cloudy-daysensors, shadow sensors, pressure sensors, smoke detectors, carbonmonoxide detectors, air-quality sensors, motion sensors, securitysensors, proximity sensors, fixture sensors, partition sensors, keypads,multi-zone control units, slider control units, kinetic or solar-poweredremote controls, key fobs, cell phones, smart phones, tablets, personaldigital assistants, personal computers, laptops, timeclocks,audio-visual controls, safety devices, power monitoring devices (e.g.,such as power meters, energy meters, utility submeters, utility ratemeters, etc.), central control transmitters, controllers (e.g., such asresidential, commercial, or industrial controllers), and/or anycombination thereof.

The system controller 110 may be coupled to a network, such as awireless or wired local area network (LAN), e.g., for access to theInternet 192. The system controller 110 may be coupled to the Internet192 either directly or via a router 190. The system controller 110 maybe wirelessly connected to the network, e.g., using Wi-Fi® technology.The system controller 110 may be coupled to the network via a networkcommunication bus (e.g., an Ethernet communication link).

The system controller 110 may communicate via the network with one ormore mobile devices 182, such as, a personal computing device and/or awearable wireless device. The mobile device 182 may be located on anoccupant 180. For example, the mobile device 182 may be attached to theoccupant's body or clothing, or the mobile device 182 may be held by theoccupant. The mobile device 182 may be characterized by a uniqueidentifier (e.g., a serial number or address stored in memory) thatuniquely identifies the mobile device 182 and/or the occupant 180.Examples of personal computing devices may include a smart phone (forexample, an iPhone® smart phone, an Android® smart phone, or aBlackberry® smart phone), a laptop, and/or a tablet device (for example,an iPad® hand-held computing device). Examples of wearable wirelessdevices may include an activity tracking device (such as a FitBit®device, a Misfit® device, and/or a Sony Smartband® device), a smartwatch, smart clothing (e.g., OMsignal® smartwear, etc.), and/or smartglasses (such as Google Glass® eyewear).

The mobile device 182 may transmit digital messages to the systemcontroller 110, for example, in one or more Internet Protocol packets.For example, the mobile device 182 may transmit digital messages to thesystem controller 110 over the LAN and/or via the Internet 192. Themobile device 182 may transmit digital messages over the Internet 192 toan external service (e.g., If This Then That (IFTTT®) service), and thedigital messages may be received by the system controller 110. Themobile device 182 may transmit the RF signals 109 via a Wi-Fi®communication link, a Wi-MAX® communications link, a Bluetooth®communications link, a near field communication (NFC) link, a cellularcommunications link, a television white space (TVWS) communication link,or any combination thereof. Alternatively or additionally, the mobiledevice 182 may transmit RF signals 108 according to the proprietaryprotocol.

The load control system 100 may include other types of network devicescoupled to the network, such as a desktop personal computer, a Wi-Fi® orwireless-communication-capable television, or any other suitableInternet-Protocol-enabled device. Examples of load control systemsoperable to communicate with mobile and/or other network devices on anetwork are described in greater detail in commonly-assigned U.S. PatentApplication Publication No. 2013/0030589, published Jan. 31, 2013,entitled LOAD CONTROL DEVICE HAVING INTERNET CONNECTIVITY, the entiredisclosure of which is hereby incorporated by reference.

The operation of the load control system 100 may be programmed andconfigured using the mobile device 182 and/or other network deviceduring a configuration (or commissioning) procedure. The mobile device182 may execute a graphical user interface (GUI) configuration softwarefor allowing a user to program the operation of load control system 100.For example, the configuration software may run as an application or aweb interface. The configuration software and/or the system controller110 (e.g., via instructions from the configuration software) maygenerate a load control dataset (e.g., database) that defines theoperation of the load control system 100. For example, the load controldataset (e.g., database) may include information regarding theoperational settings of different load control devices of the loadcontrol system 100 (e.g., the dimmer switch 120, the LED drivers 130,the plug-in load control devices 140, the motorized window treatments150, and/or the temperature control devices 160).

The load control dataset (e.g., database) may include informationregarding associations between the load control devices and/or the inputdevices (e.g., the battery-powered remote control devices 170, theoccupancy sensors 172, and/or the daylight sensors 174). For example,information relating to the load control device and/or the input deviceassociations may be stored at the system controller 110. For example,identifiers of the load control devices and/or the input devices thatare associated may be stored at the system controller 110. The loadcontrol database may include information regarding how the load controldevices respond to inputs received from the input devices. Examples ofconfiguration procedures for load control systems are described ingreater detail in commonly-assigned U.S. Pat. No. 7,391,297, issued Jun.24, 2008, entitled HANDHELD PROGRAMMER FOR LIGHTING CONTROL SYSTEM; U.S.Patent Application Publication No. 2008/0092075, published Apr. 17,2008, entitled METHOD OF BUILDING A DATABASE OF A LIGHTING CONTROLSYSTEM; and U.S. Patent Application Publication No. 2014/0265568,published Sep. 18, 2014, entitled COMMISSIONING LOAD CONTROL SYSTEMS,the entire disclosures of which are hereby incorporated by reference.

When the mobile device 182 is a wearable wireless device, the mobiledevice 182 may include one or more sensing devices for sensing one ormore parameters (e.g., biometric data) that define the physicalcondition (e.g., behavior, movement, comfort, and/or health) of theoccupant 180. For example, the sensing devices of the mobile device 182may include an accelerometer for monitoring the movement of theoccupant. In addition, the mobile device 182 may include sensing devicesfor monitoring the heart rate, the blood pressure, the body temperature,the blood sugar, and/or the perspiration level of the occupant 180. Themobile device 182 may transmit digital messages to the system controller110 including data regarding the parameters measured by the sensingdevices of the mobile device.

The system controller 110 may determine the state of and/or physicalcondition of the occupant 180 using the parameters measured by thesensing devices of the mobile device 182. For example, the systemcontroller 110 may determine that the occupant 180 is sleeping or thatthe stress level of the occupant 180 is increasing in response to one ormore of the parameters measured by the sensing devices of the mobiledevice 182.

The system controller 110 may determine the location of the mobiledevice 182 and/or the occupant 180. The system controller 110 maycontrol (e.g., automatically control) the load control devices (e.g.,the dimmer switches 120, the LED drivers 130, the plug-in load controldevices 140, the motorized window treatments 150, and/or the temperaturecontrol devices 160) in response to determining the location of themobile device 182 and/or the occupant 180. The system controller 110 maycontrol the load control devices according to occupant controlparameters associated with the occupant 180. The occupant controlparameters may be predetermined or preset settings for the occupant 180.For example, occupant control parameters may include biometric data ofthe occupant, and/or user input data received from the occupant 180 viathe mobile device 182.

One or more of the control devices of the load control system 100 maytransmit beacon signals 185. For example, the beacon signals 185 may beRF beacon signals that may be transmitted using a short-range and/orlow-power RF technology, such as Bluetooth® technology. The beaconsignals 185 may be transmitted via the same protocol, or a differentprotocol, as the RF communication signals 108, 109. The load controlsystem 100 may include one or more beacon transmitting devices 184 fortransmitting the beacon signals 185 (e.g., dedicated beacon transmittingdevices). The beacon transmitting device 184 may be a control device, orbeacon transmitting device may be a device other than a control device.The beacon transmitting devices 184 may be battery-powered (e.g.,including a battery for powering the beacon transmitting device). Thebeacon transmitting device 182 may be plugged into a receptacle (such ascontrollable receptacle 141) to receive AC power and/or may be connectedto an external power supply for receiving DC power. Any fixed-locationcontrol device of the load control system 100 (e.g., any of the loadcontrol devices, such as the dimmer switches 120, the LED drivers 130,the motorized window treatments 150, and/or the temperature controldevices 160) may transmit the beacon signals 185 (e.g., to operatebeacon transmitting devices).

The mobile device 182 may receive a beacon signal 185 when located neara control device and/or a beacon transmitting device 184 that istransmitting the beacon signal 185. A beacon signal 185 may include aunique identifier identifying the location of the control device and/orthe beacon transmitting device 184 that transmitted the beacon signal185. Since the beacon signal 185 may be transmitted using a short-rangeand/or low-power technology (e.g., Bluetooth®, such as Bluetooth® lowenergy (BLE), nearfield communication (NFC), etc.), the uniqueidentifier may indicate the approximate location of the mobile device182. The mobile device 182 may transmit the unique identifier to thesystem controller 110, which may determine the location of the mobiledevice 182 using the unique identifier (e.g., using data stored inmemory or retrieved via the Internet 192). The system controller 110 maytransmit a location-based control element to the mobile device 182. Thelocation-based control element may include a location (e.g., thedetermined location) and/or the names of an area, group, zone, load,electrical load, lighting load, control device, load control device,input device, preset, and/or scene associated with the location. Thesystem controller 110 may control (e.g., automatically control) the loadcontrol devices in response to the location of the mobile device 182.

The mobile device 182 may “snap” to (e.g., lock onto) a beacon signal ofone of the control devices and/or beacon transmitting devices 184transmitting the beacon signal 185. Snapping to a beacon signal may meanthat the mobile device is linked to and/or paired to (e.g., virtuallylinked to and/or paired to) the control device and/or the beacontransmitting device 184 transmitting the beacon signal 185. The mobiledevice 182 may be snapped to the beacon signal by the mobile device 182and/or the system controller 110 reserving the beacon identifier asbeing linked to the mobile device 182. The mobile device 182 may send amessage to the system controller 110 identifying the beacon signal andthe system controller 110 may reserve the beacon signal for the mobiledevice 182 to be snapped to the beacon. The mobile device 182 mayreceive beacon signals 185 from one or more control devices and/orbeacon transmitting devices 184. The mobile device 182 may snap tobeacon signals 185 of one or more of the control devices and/or beacontransmitting devices 184. When a mobile device 182 snaps to a beaconsignal 185 of a control device and/or beacon transmitting device 184,the mobile device 182 may be given control of the control devicetransmitting the beacon and/or the control devices associated with thebeacon transmitted by the beacon transmitting devices 184. For example,the mobile device 182 may be able to adjust the intensity of lightemitted by lighting loads controlled by control devices associated withthe transmitting beacon signals to which the mobile device 182 isvirtually linked, or light emitted by lighting loads controlled by thecontrol device transmitting beacon signals to which the mobile device182 is virtually linked. Other mobile devices may be prevented fromsnapping to a beacon signal 185 of a control device and/or a beacontransmitting device 184 after the mobile device 182 snaps to the beaconsignal 185 of the control device and/or the beacon transmitting device184. Other mobile devices may be permitted to snap to the beacon signal185 of the control device and/or the beacon transmitting device 184after the mobile device 182 snaps to the beacon signal 185 of thecontrol device and/or the beacon transmitting device 184. For example,based on a status of a user (e.g., executive, administrator, etc.), auser may be permitted to snap to a beacon signal of a control deviceand/or the beacon transmitting device 184 even if the beacon signal ofthe control device and/or the beacon transmitting device 184 has beensnapped to by another mobile device. When the mobile device 182 snaps toa beacon signal of a control device and/or a beacon transmitting device184, an identifier of the device, and/or an identifier of the beaconsignal 185 may be stored. For example, when the mobile device 182 snapsto a beacon signal of a control device, an identifier of the controldevice and/or an identifier of the beacon signal 185 may be stored bythe system controller 110 and/or the mobile device 182.

The mobile device 182 and/or the system controller 110 may sort thereceived beacon signals 185 into a list. The mobile device 182 and/orthe system controller 110 may order the list based on a ranging method.For example, the mobile device 182 and/or the system controller 110 mayorder the list based on the received signal strength indication (RSSI)of each beacon signal 185. The beacon signal having the highest RSSI maybe listed first on the list. For example, the mobile device 182 may snapto the beacon signal having the highest RSSI of the received beaconsignals 185. For example, the mobile device 182 and/or the systemcontroller 110 may recognize an RSSI 186 at room 102, an RSSI 187 atroom 104, and/or an RSSI of 188 at room 106. The mobile device 182 mayallow for user selection of one of the beacons within the rooms. Forexample, the mobile device 182 may allow for user selection of one ofthe beacons within the rooms, based on the respective RSSI values. Themobile device 182 may allow for user selection of one of the beaconswithin the room and may allow the user to snap to the selected room.

The mobile device 182 may learn a particular beacon signal 185 as acommonly used (e.g., learned favorite) beacon signal. For example, ifthe user 180 is assigned room 102 as an office, the user 180 maycommonly use room 102. The mobile device 182 may snap (e.g., mayinitially) snap to a beacon signal based on proximity of the mobiledevice 182 to the control device. The mobile device 182 may learn thatbeacon signal 185 within room 102 is commonly used by user 180. Forexample, the mobile device 182 may learn that mobile device 182 commonlysnaps to beacon signal, based on proximity of the mobile device 182 tothe control device. The beacon signal 185 within room 102 may bedetermined to be a learned favorite beacon signal for the user 180. Themobile device 182 may snap to the learned favorite beacon signal,notwithstanding other parameters. For example, the mobile device 182 maysnap to the learned favorite beacon signal (e.g., beacon signal 185 inroom 102) despite there being other beacon signals 185 having higherRSSIs than the favorite beacon. For example, if the user 180 positionshimself closer to room 104 than room 102 (e.g., if the user walks byroom 104), thereby having a higher RSSI value at 104 than at room 102,the mobile device 182 may continue to snap to room 102, because thebeacon signal from room 102 is deemed a learned favorite of user 180.

The mobile device 182 may learn a particular beacon signal 185 is alearned favorite of a user 180 in one or more various ways. For example,the mobile device 182 may track the RSSIs of received beacon signals 185over a period of time and may determine that the mobile device 182 islocated near a particular beacon signal more often than other beaconsignals (e.g., has repetitively snapped to that beacon signal for longperiods of time, which may be greater than a predefined period of time).The mobile device 182 may learn (e.g., automatically learn) that beaconsignal is the favorite beacon signal (e.g., by storing the uniqueidentifier of the beacon signal in memory). The mobile device 182 maystore the unique identifier of the beacon signal as a learned favoritewhen the mobile device identifies the beacon signal and/or snaps to thebeacon a predefined number of times or for a predefined period of timewithin a defined time period.

The occupant 180 may manually set a favorite beacon signal to cause themobile device 182 to learn a particular beacon signal as the favoritebeacon signal. For example, the occupant 180 may select an option “Savecurrent location as favorite location” on the visual display of themobile device. The mobile device 182 may be provided advanced controloptions for the electrical loads associated with the favorite beaconsignal when the mobile device is snapped to the favorite beacon signal.For example, the mobile device 182 may be capable of configuringsettings (e.g. be provided with administrative privileges, such assetting time outs, occupancy controls, etc.) when the mobile device issnapped to the favorite beacon signal. The system controller 110 maycontrol (e.g., automatically control) the mobile device 182 when themobile device 182 snaps to the favorite beacon signal.

The mobile device 182 may snap to a beacon signal 185 if the RSSI of thereceived beacon signal is greater than a snap threshold. The snapthresholds may be a fixed level or a dynamic level. If the highest RSSIis spaced apart from the next highest RSSI by a predetermined amount,the snap threshold may be dynamically sized between the highest RSSI andthe next highest RSSI, such that the mobile device 182 may snap to thebeacon signal having the highest RSSI.

As shown in FIG. 1B, one or more snap thresholds 196, 198 may relate toa control device and/or a beacon transmitting device 184 transmitting abeacon signal. For example, if the beacon signal is greater than a snapthreshold (e.g., snap threshold 196), the mobile device 182 may snap tothe beacon signal. The mobile device 182 may unsnap (e.g., virtuallyunlink) from the beacon signal if the RSSI of that beacon signal dropsbelow an unsnap threshold. Unsnapping from a beacon signal may cause theremoval of the linking and/or pairing (e.g., a virtual linking and/orpairing) of the mobile device 185 and the control device transmittingthe beacon signal 185. A stored identifier of the control device and/orbeacon transmitting device 184 transmitting the beacon signal 185 inwhich the mobile device has snapped may be released when the mobiledevice 185 unsnaps from the beacon signal 185. For example, when themobile device 182 unsnaps from the beacon signal 185 of a control deviceand/or a beacon transmitting device 184, the stored identifier of thedevice and/or the stored identifier of the beacon signal 185 may bereleased by the system controller 110 and/or the mobile device 182.

The unsnap threshold may be lower than the snap threshold (e.g., toprovide hysteresis) and/or the snap threshold may be the same as theunsnap threshold. For example, the mobile device may remain snapped tothe beacon signal as long as the beacon signal remains higher than snapthreshold 198 (e.g., even if the beacon signal is below snap threshold196). If there are multiple beacon signals having RSSIs above the snapthreshold, the mobile device 182 may unsnap from the beacon having thelower RSSI and/or snap to the beacon signal having the higher RSSI. Ifthere are multiple beacon signals having RSSIs above the snap threshold,the mobile device 182 may snap to a favorite beacon signal (e.g., if theunique identifier of the favorite beacon signal is stored in memory).The mobile device 182 may unsnap from the beacon signal in response to amanual input received at the mobile device.

After snapping to a beacon signal 185, the mobile device 182 maytransmit the unique identifier of the beacon signal 185 to the systemcontroller 110. The system controller 110 may determine the location ofthe mobile device 182 using the unique identifier. For example, thesystem controller 110 may have stored thereon a dataset of the beaconidentifiers and the corresponding locations of the beacon identifiers,which may be used by the system controller as a look-up table todetermine the location. The system controller 110 may transmit alocation-based control element (e.g., the determined location and/ornames of an area, groups, zones, electrical loads, control devices, loadcontrol devices, input devices, presets, and/or scenes associated withthe location) to the mobile device 182. The system controller 110 maycontrol (e.g., automatically control) the load control devices inresponse to the location of the mobile device 182.

After the mobile device 182 has snapped to a beacon signal 185, othermobile devices may be prevented from snapping to that beacon signal 185(e.g., no other mobile devices may be allowed to snap to that beaconsignal, or a predefined number of mobile devices may be allowed to snapto that beacon signal). For example, the mobile device 182 may haveexclusive control of the electrical loads associated with that beaconsignal. A mobile device 182 may be permitted to snap to a presentlysnapped signal, based on a status of the occupants. For example, anadministrator, super user, executive, etc., may be permitted to snap toa beacon to which another user has already snapped. The mobile device182 may unsnap from that beacon signal to allow another device to snapto the beacon signal. The visual display of the mobile device 182 maypresent adjacent locations to the occupant to allow the occupant tochange to another area in case the mobile device snapped to an incorrectlocation. For example, the occupant may scroll (e.g., swipe) throughadjacent areas until the name of the desired area is displayed.

In some cases, the mobile device may not snap to the beacon signal 185,and/or may receive the location-based control element for controllingthe associated electrical loads from the system controller 110. Thesystem controller 110 may log a unique identifier of the mobile device182 when the mobile device 182 controls the electrical loads in alocation. The identifiers of each mobile device that has performedcontrol of an electrical load in a location may be logged by the systemcontroller 110. The mobile device 182 may display the identity of themobile devices that have controlled the electrical loads in thelocation. Accordingly, an occupant 180 of a location may track theidentities of the users that controlled (e.g., recently controlledwithin a defined period of time) the electrical loads in the location.

The control devices that are transmitting beacon signals 185 may operatein one or more modes of operation. The modes of operation may be basedon power (e.g., transmission power) and/or the modes of operation may bebased on frequency (e.g., transmission frequency). For example, controldevices may transmit beacon signals 185 in a normal mode of operation,in which the beacon signals 185 may be transmitted at a normal powerlevel (e.g., 400 ms) and/or at a normal frequency (+6 dBm). The controldevices may also, or alternatively, operate in another mode of operationin response to receiving a digital message. For example, abattery-powered beacon transmitting device may transmit beacon signals185 in a mode of operation in which the beacon signals 185 may betransmitted in a low-power level (e.g., in which the beacon transmittingdevice may draw less current from the internal battery) and/or at a lowfrequency. The low power level and/or the low frequency may be lowerthan the normal power level and/or the normal frequency. The controldevices may cease transmitting the beacon signals 185 in the low powermode of operation. The low power mode of operation may enable thecontrol devices to consume less power. The control devices may transmitdigital messages less frequently, and/or at a lower transmission power,in the low power mode of operation. Transmitting digital messages lessfrequently, and/or at a lower transmission power, may reduce RF trafficon the short-range RF communication link. The control devices mayoperate in one or more modes of operation in response to receiving adigital message.

A control device may enter a different mode of operation when the mobiledevice 182 has snapped to the beacon signal of that control device. Thedifferent mode of operation may be a low power mode of operation, asdescribed herein. For example, the mobile device 182 may transmit adigital message to the control device via the short-range RFcommunication link. The digital message may cause the control device toenter the different mode of operation. While in the different mode ofoperation, the control device may cease transmitting the beacon signals185 or the control device may transmit the beacon signals 185 at a lowerpower level. For example, the control device may cease transmittingbeacon signals 185, or transmit the beacon signal 185 at a lower powerlevel, to consume less power and/or to reduce RF traffic on theshort-range RF communication link. In the different mode of operation,the control device may cease transmitting the beacon signals 185, or maytransmit the beacon signals 185 at a lower power level, when the mobiledevice 182 has snapped to the beacon signal of that control device. Thecontrol devices ceasing to transit the beacon signals 185, ortransmitting the beacon signals 185 at a lower power level, may hinderother mobile devices from hearing the beacon signals 185 from thatcontrol device and attempting to snap to that beacon signal. In thedifferent mode of operation, the control device may transmit additionalor alternative data in the beacon signal 185. For example, the controldevice may include an indication that the mobile device 182 has snappedto the beacon signal of that control device (e.g., which may hinderother mobile devices from trying to snap to that beacon signal). Theother mobile devices that identify that the mobile device 182, or apredefined number of devices, have snapped to the beacon signal mayavoid snapping to the beacon signal and/or displaying the beacon asbeing an available option.

The system controller 110 may cause the control device to operate in thesecond mode of operation during the configuration procedure of the loadcontrol system. For example, the system controller 110 may cause thecontrol device to operate in the second mode of operation after anassociation procedure of the control device capable of transmitting thebeacon signals 185. The association procedure may include the systemcontroller 110 receiving information (e.g., location, identifiers, etc.)of the load control devices and/or the input devices to access andcontrol the associated load control devices. The mobile device 182 maysend digital messages via the system controller 110 to control the loadcontrol devices associated with the unique identifier. For example, thesystem controller 110 may transmit a digital message to the controldevice to cause the control device to enter the second mode of operationafter the association procedure. The control device may ceasetransmitting the beacon signals 185 and/or transmit the beacon signals185 at a lower power level in the second mode of operation, for example,to consume less power and/or reduce RF traffic on the short-range RFcommunication link. Ceasing to transit the beacon signals and/ortransmitting the beacon signals at a lower power level may hinder themobile device 182 from hearing the beacon signals from that controldevice. For example, ceasing to transit the beacon signals 185 and/ortransmitting the beacon signals 185 at a lower power level may hinderthe mobile device 182 from hearing the beacon signals 185 from thatcontrol device while trying to associate other control devices duringthe configuration procedure.

The system controller 110 may determine the location of the mobiledevice 182 using triangulation. The load control devices of the loadcontrol system 100 may be mounted in fixed locations. The load controldevices may measure the signal strength of RF signals received from themobile device 182. The load control devices may transmit these signalstrengths to the system controller 110. The system controller 110 maydetermine the location of the mobile device 182 using the signalstrengths. One or more load control devices of the load control system100 may be movable devices. As such, the load control system 100 mayinclude fixed and movable load control devices.

The lighting control devices of the load control system 100 (e.g., thedimmer switches 120 and the LED drivers 130) may control the respectivelighting loads (e.g., the lighting loads 122 and the LED light sources132) in order to transmit a visible light communications (VLC) signalvia the light emitted by the lighting loads. The lighting controldevices may transmit beacon signals via the VLC signals emitted by thelighting loads. The beacon signals transmitted by the lighting controldevices via the VLC signals may each include a unique identifieridentifying the location of the lighting control device that transmittedthe beacon signal (e.g., similar to the RF beacons transmitted via theshort-range or low-power RF communication link). The mobile device 182may include a visible light sensor 183. The visible light sensor 183 mayinclude a camera, an ambient light detector, or other photosensitivecircuit for receiving the VLC signals. The mobile device 182 may receivea beacon signal via the VLC signals when located near a lighting loadthat is presently transmitting the beacon signal, and transmit theunique identifier to the system controller 110, which may determine thelocation of the mobile device using the unique identifier.

One or more of the control devices of the load control system 100 maytransmit beacon signals via acoustic signals. For example, the controldevices may include acoustic signal generators and speakers forgenerating the acoustic signals. The beacon signals transmitted by thecontrol devices via the acoustic signals may include a unique identifieridentifying the location of the control device that transmitted thebeacon signal (e.g., similar to the RF beacons and VLC beacons). Themobile device 182 may include a microphone for receiving the acousticsignals. The mobile device 182 may receive a beacon signal via theacoustic signals when located near a control device that is presentlytransmitting the beacon signal, and transmit the unique identifier tothe system controller 110, which may determine the location of themobile device using the unique identifier.

The system controller 110 may determine the location of the occupant 180without the need to track the location of the mobile device 182. Forexample, the system controller 110 may determine the location of theoccupant 180 in response to one or more input device fixedly mounted inone or more of the rooms 102, 104, 106. For example, a camera device176, a microphone 196, a keycard device 166, or a biometric sensingdevice 168 (e.g., fingerprint detection device, retinal scanning device,etc.) may be fixedly mounted in one or more of the rooms 102, 104, 106and may assist the system controller 110 in determining the location ofthe occupant 180. The load control system 100 may include one or morecamera devices 176 for recording video surveillance of the rooms 102,104, 106. Each camera device 176 may transmit video recordings to thesystem controller 110. The system controller 110 may determine thepresence of the occupant 180 in the room 104, for example, using facialrecognition technology.

The system controller 110 may determine the location of the occupant 180using a microphone. For example, the system controller 110 may determinean occupant of a space based on matching voice patterns of the occupant180 to a database of stored voice patterns. The voice patterns may beused in addition to a determined location of the occupant's mobiledevice 182 for confirmation of the occupant's presence.

The system controller 110 may determine an occupant 180 of a space basedon biometric data (e.g., fingerprint detection, retinal scanning, etc.).For example, a control-source device (e.g., a dimmer switch) may includea fingerprint detection module. Upon receiving information relating toan occupant's fingerprint, the control-source device may transmit thisinformation to the system controller 110, which may cross-reference theoccupant's fingerprint information with a dataset (e.g., database) todetermine the occupant 180 of the space.

The system controller 110 may use location information determined by themobile device 182 to supplement information received from one or morecontrol devices. For example, the system controller 110 may use locationinformation determined by the mobile device 182 to supplement occupancysensor information. For example, an occupancy sensor may be unable todetect the presence of the occupant 180 in a space due to a lack of lineof sight between the sensor and the occupant. The system controller 110may detect the presence of the occupant based on the presence of theoccupant's mobile device 182. The system controller 110 may use locationinformation based on a mobile device 182 to enhance occupancy sensorzone control. For example, the location information relating to themobile device 182 may be used to determine and/or confirm zoninginformation as determined by an occupancy sensor.

The system controller 110 may control (e.g., automatically control) theload control devices in response to determining the location of themobile device 182. For example, the system controller 110 may controlthe load control devices in response to determining the location of themobile device 182 when one of the occupancy sensors 172 indicates thatthe space (e.g., room), which was indicated as the location of themobile device 182, is occupied. The mobile device 182 may receive adigital message indicating the occupancy condition from one of theoccupancy sensors 172, to determine that the occupancy sensor is locatedin the room in which the mobile device 182 is located, and/or totransmit a command to control the load control devices in the responseto receiving the digital message indicating the occupancy condition(e.g., transmitted to the system controller 110 or to the load controldevices). The system controller 110 may determine whether the locationof the mobile device 182 is occupied. For example, the system controller110 may determine whether the location of the mobile device 182 isoccupied in response to a motion sensor, a proximity sensor, a doorentrance sensor, a door movement sensor, a keypad door-opening device167, and/or the camera device 176. The system controller 110 may control(e.g., automatically control) the load control devices when the locationof the mobile device 182 is indicated as occupied.

A sensor (e.g., an occupancy sensor) may control the status of acontrol-target device (e.g., turn lights on/off, raise/lower shades,etc.). The system controller 110 may determine and/or set the presetlevel of the control-target device based on the detection of a mobiledevice 182 within the space of the control-target device. For example,an occupancy sensor may turn the lighting of a space on/off based on thedetection of an occupant, and/or the system controller 110 may set thelighting to the preset of the occupant 180 based on the detection of theoccupant's mobile device 182 within the space of the control-targetdevice.

A sensor (e.g., an occupancy sensor) may control the status of acontrol-target device in one direction (e.g., turn lights on/off,raise/lower shades, etc.). The system controller 110 may control thestatus of the control-target device in the other direction. For example,the system controller 110 may turn lighting of a space on based ondetermining that an occupant is present in the space (e.g., via theirmobile device), and/or the sensor may turn the lighting of the space offbased on a detected vacancy situation in the space.

The mobile device 182 may determine its location and to transmit thelocation information to the system controller 110 and/or the loadcontrol devices. The mobile device 182 may determine its location inresponse to the beacon signals received when the mobile device 182 islocated near a control device that is presently transmitting the beaconsignal. The mobile device 182 may use the unique identifier of thebeacon signal to retrieve the location of the mobile device 182 via theInternet 192. The mobile device 182 may transmit the location of themobile device 182 to the system controller 110. The system controller110 may control (e.g., automatically control) the load control devicesin response to the location of the mobile device 182. The mobile device182 may determine its location based on the signal strengths of RFsignals received from multiple (e.g., three or more) of the load controldevices. The mobile device 182 may determine its location based on aglobal positioning system (GPS) receiver.

An input device (e.g., the battery-powered remote control devices 170,the occupancy sensors 172, and/or the daylight sensors 174) maydetermine its location. The input device may determine its location inresponse to determining a signal strength signature at the presentlocation. The signal strength signature may be a pattern of signalstrength measurements to and from the fixed-location control devices(e.g., the load control devices) of the load control system 100. Theinput device may use a neural network to learn a signal strengthsignature in each of the rooms 102, 104, 106. For example, the inputdevice may learn the signal strength signature using signal strengthsmeasured when the input device is in one of the rooms 102, 104, 106during a configuration or setup procedure of the load control system 100to determine the weights of the neural network that will allow the inputdevice to recognize these patterns. The input device may alter itsoperation in response to the determined location and/or transmit thedetermined location to the load control devices and/or system controller110. The input devices and/or the system controller 110 may determinethe locations of the input devices using any of the procedures describedherein.

The mobile device 182 and/or the input devices (e.g., such as thebattery-powered remote control devices 170) may operate differentlydepending upon the present location of the device. The mobile device 182may display a control screen (e.g., on a visual display) that allows forcontrol of the electrical loads located near the location of the mobiledevice 182. The control screen may be displayed when a controlapplication on the mobile device 182 is opened. The control screen maybe displayed without opening the control application, for example, on alock screen, a notification screen, or a “glance” screen. The systemcontroller 110 may transmit location-dependent control elements (e.g.,the determined location and/or names of an area, groups, zones,electrical loads, control devices, load control devices, input devices,presets, and/or scenes associated with the location) to the mobiledevice. The mobile device 182 may display the location-dependent controlelements on the display screen (e.g., as “soft” buttons), and maytransmit selected control elements (e.g., selected location-dependentcontrol elements) to the system controller 110. For example, if themobile device 182 is located in a conference room, the control screenmay display the name of the conference room, one or more scenes for theconference room, and/or specific zones of the conference room. Themobile device 182 may display generic control elements on the controlscreen (e.g., without the need for the system controller 110 to transmitlocation-dependent control elements to the mobile device 182). Forexample, in an open office area, the generic control elements for eachcubicle may be the same (e.g., an on control element, an off controlelement, a raise control element, and a lower control element). Themobile device 182 may transmit the selected control element to thesystem controller 110. The system controller 110 may store the selectedcontrol elements (e.g., may store the selected control elements in adataset). The system controller 110 may determine the command totransmit to the desired load control devices depending upon thedetermined location of the mobile device.

When the control application on the mobile device 182 is opened, themobile device may display a home screen that is dependent upon thelocation of the mobile device 182. For example, the mobile device 182may display a “living room” home screen when the mobile device 182 ispresently located in the living room. The mobile device 182 may launch aparticular application and/or screen of an application based on thelocation of the mobile device 182. For example, if the mobile device 182detects that it is in a conference room, the mobile device 182 maylaunch a particular application and/or screen of an application thatallows for control of the particular loads of the conference room (e.g.,HVAC, lighting, blinds, etc.).

The mobile device 182 may re-order lists or formats of electrical loads,load control devices, input devices, control buttons, and/or presetsdisplayed on the visual display in response to the location of themobile device 182. For example, the mobile device 182 may re-order listsor formats of electrical loads, load control devices, input devices,control buttons, and/or presets to put the items having a predeterminedpriority for that location near the top of the list. The predeterminedpriority may be based on the frequency of use, proximity to the mobiledevice 182, compatibility, type, etc. For example, lighting controldevices may be provided a higher priority than motorized windowtreatments. The mobile device 182 may display messages and/or warningsto the occupant 180 depending upon the present location. For example,the mobile device 182 may display messages and/or warnings to theoccupant 180 to inform the occupant 180 of burnt-out lamps or faultycontrol devices in the present room. The mobile device 182 may be ableto display a warning when the time-of-day pricing for electricity hasexceeded a predetermined threshold.

FIG. 2 is a flowchart of an example control procedure 200 forcontrolling electrical loads in response to the location of the mobiledevice 182. At 202, the example control procedure 200 may start. At 204,the location of the mobile device 182 may be determined. For example,the location of the mobile device 182 may be determined at 204 by themobile device 182 receiving a beacon signal, the mobile devicetransmitting a unique identifier of the beacon signal (e.g., a beaconID) to the system controller 110, and the system controller 110determining the location of the mobile device 182 using the beacon ID.The system controller 110 may determine a location of a mobile device182 using one or a combination of triangulation, received signals fromthe mobile device 182, a sensor, a camera, beacon signals, a microphone,a keycard, biometric data, and/or the like.

Location-based control elements (e.g., the determined location and/ornames of areas, groups, zones, electrical loads, control devices, loadcontrol devices, input devices, presets, and/or scenes associated withthe location) may be transmitted to the mobile device 182, at 206. Forexample, the system controller 110 may transmit location-based controlelements to the mobile device 182 to provide control of the electricalloads at the location of the mobile device 182. If the location-basedcontrol elements are determined to be transmitted to the mobile deviceat 206 (e.g., in order to provide control of the electrical loads at thelocation of the mobile device 182), the system controller 110 maytransmit control data associated with the mobile device and the locationof the mobile device 182 to the mobile device 182, at 208.

The location-based control elements may be requested and/or required bythe mobile device 182. The location-based control elements may betransmitted based on the location of the mobile device 182. The mobiledevice 182 may receive the location-based control elements and displaythe location-based control elements on the visual display of the mobiledevice 182, at 210. For example, the mobile device 182 may display thelocation-based control elements on the visual display to allow forcontrol of the electrical loads near the location of the mobile device.The mobile device 182 may reconfigure the display configuration of thelocation-based control elements on the visual display in response to thelocation of the mobile device. For example, if the mobile device 182 islocated in a conference room, the control screen may display the name ofthe conference room, one or more scenes for the conference room, and/orspecific zones of the conference room. If the mobile device 182 islocated in a living room, the control screen may display the name of theroom (e.g., living room), one or more control devices located within theliving room, and/or one or more scenes of the living room.

At 212, the mobile device 182 may receive a selection of one or more ofthe location-based control elements on the visual display of the mobiledevice 182. For example, the mobile device 182 may receive an indicationof a button press to turn the load on or off, or to select a preset orscene, on the visual display of the mobile device 182, at 212. Anindication may be received of an actuation of a virtual slider on thevisual display of the mobile device 182 to adjust the amount of powerdelivered to the electrical load (e.g., to adjust an intensity of alighting load) at 212. At 214, the mobile device 182 may transmit theselected control element (e.g., a command to control the electricalload) to the system controller 110. At 216, the system controller 110may transmit a digital message to one or more of the load controldevices (e.g., lighting loads) according to the location of the mobiledevice 182 and/or the preset data of the mobile device 182. For example,the system controller 110 may transmit a digital message to one or moreof the load control devices within a predefined proximity of the mobiledevice 182 to control the electrical loads. The control procedure 200may exit, at 218. The digital message transmitted at 216 may include acommand to control the electrical load according to the determinedlocation of the mobile device 182 and/or the occupant control parametersstored in the mobile device.

If the location-based control elements are not to be transmitted, at 206(e.g., based on the location of the mobile device 182, or a request orrequirement of the mobile device), the mobile device 182 may display thegeneric control elements on the visual display of the mobile device, at210, to allow for control of the electrical loads near the location ofthe mobile device. For example, if the mobile device 182 is located inan open office, the control screen may display the same generic controlelements for each cubicle of office space. The mobile device 182 mayreceive a selection of one or more of the generic control elements onthe visual display of the mobile device 182, at 212, and the mobiledevice 182 may transmit the selected control element to the systemcontroller 110, at 214. At 216, the system controller 110 may determinea corresponding command in response to the selected control elements andthe location of the mobile device 182 and then transmit a digitalmessage, including the command, to one or more of the load controldevices within a predefined proximity of the location of the mobiledevice 182. The control procedure 200 may exit, at 218. For example,

The battery-powered remote control devices 170 may transmit differentdigital messages in response to the actuation of a single buttondepending upon the location of the remote control device. For example,actuation of a preset button of one of the remote control devices 170may select a first preset when the remote control device is located in afirst room and may select a second preset when the remote control deviceis located in a second room.

FIG. 3 is a flowchart of an example button press procedure 300 that maybe executed by a remote control device 170 and/or a mobile device 182.At 302, a button on a remote control device 170 and/or a mobile device182 may be actuated. At 304, the remote control device 170, the mobiledevice 182, and/or the system controller 110 may determine the locationof the remote control device 170 or the mobile device 182. For example,the remote control device 170 or the mobile device 182 may transmitdifferent digital messages in response to the actuation of a singlebutton depending upon its location. The system controller 110 may storecommands corresponding to the one or more locations (e.g., one or moredifferent locations). The system controller 110 may perform a lookup ofcommands, based on the location of the remote control device 170 or themobile device 182. For example, a preset of a conference room mayincrease or decrease the intensity of a control device in a smallerincrement (e.g., 10%) than a preset of an office (e.g., 30%). The usermay increase or decrease the intensity of the control device in theconference room at 10%, and the intensity of the control device in theoffice at 30%, using the same or similar button actuation (e.g., usingthe lookup). At 306, the remote control device 170, the mobile device182, and/or the system controller 110 may transmit a digital messagebased on the location of the remote control device 170 or the mobiledevice 182. At 308, the example button press procedure 300 may end.

The system controller 110 may control (e.g., automatically control) theload control devices in response to determining the location of themobile device 182 and/or the occupant 180. As previously described, thesystem controller 110 may control the load control devices according tooccupant control parameters associated with the occupant 180. Theoccupant control parameters may be the occupant's predetermined and/orpreset settings that may be stored on the mobile device 182 and/or onthe system controller 110. The occupant control parameters may be theoccupant's biometric data that sensed by the mobile device (e.g., whenthe mobile device is a wearable device). The occupant control parametersmay be the occupant's input data that may be received via the mobiledevice. A preset setting may identify preset lighting intensities of thelighting loads, preset positions of the motorized window treatments 150,and/or preset setpoint temperatures of the temperature control devices160.

The system controller 110 may control the load control devices in therooms according to the occupant control parameters. For example, thesystem controller 110 may control the load control devices in the roomsaccording to the occupant control parameters as the occupant movesaround the building (e.g., to “follow” the occupant around thebuilding). The occupant control parameters may be “universal”parameters. For example, the preset settings may be the same for eachroom of the building. The occupant control parameters may be roomparameters. For example, the present settings may be different for eachroom. The occupant control parameters may be temporally based. Forexample, the occupant control parameters may be determined based on thetime of day and/or year. For example, the lighting loads 122 and LEDlight sources 132 may be illuminated (e.g., may automatically beilluminated) dimly when controlled (e.g., automatically controlled) atnight in response to the location of the mobile device 182 and/oroccupant 180. The level at which the load control devices and/orelectrical loads are controlled may be dependent upon the distance fromthe mobile device 182 and the controlled load control device and/or theelectrical load. The occupant control parameters may be different fordifferent occupants of the rooms. For example, because the mobile device182 may uniquely identify the occupant 180, the occupant controlparameters may be different for different occupants of the rooms.

FIG. 4 is a flowchart of an example control procedure 400 forcontrolling (e.g., automatically controlling) electrical loads inresponse to the location of the mobile device 182 and/or the occupant180. The control procedure 400 may be executed by the system controller110, the mobile device 182, and/or one or more control devices. At 402,the example control procedure 400 may start. At 404, a location of amobile device 182 and/or occupant 180 may be determined. For example,the system controller 110 may determine a location of a mobile device182 and/or occupant 180. A location of a mobile device 182 and/oroccupant 180 may be determined using one or more of triangulation,received signals from the mobile device 182, a sensor, a camera, beaconsignals, a microphone, a keycard, biometric data, and/or the like.

At 406, present settings based on the mobile device 182 and/or occupant180 may be recalled. For example, the system controller 110 may recall(e.g., load) preset settings based on the mobile device 182 and/oroccupant 180, as described herein. At 408, electrical loads in the space(e.g., room) may be controlled according to the recalled preset settingsof the mobile device 182 and/or occupant 180. For example, the systemcontroller 110 may control (e.g., automatically control) electricalloads in the space (e.g., room) according to the recalled presetsettings of the mobile device 182 and/or occupant 180. The systemcontroller 110 may automatically control electrical loads in the roomaccording to predetermined or preset settings for the occupant 180,which may be room specific settings. At 410, the example controlprocedure 400 may end.

A verification signal may be received (e.g., the system controller 110and/or the mobile device 182 may receive a verification signal). Forexample, a verification signal may be received in addition to receivingthe beacon signals. The verification signal may be received in order toensure that the mobile device 182 is located in the determined location.For example, the verification signal may be a location verificationsignal. The beacon signals may be transmitted via a wireless medium. Thebeacon signals may be transmitted via a short-range RF communicationlink (e.g., BLE, NFC, etc.), which may result in the beacon signalsbeing transmitted through the surrounding structure (such as the wallsof a building). If an occupant is in a room and the occupant's mobiledevice 182 receives a beacon signal from an adjacent room (e.g., room104), the system controller 110 may determine (e.g., mistakenlydetermine) that the occupant is in the adjacent room (e.g., room 104).

To provide additional verification capabilities, the verification signalmay be transmitted via a wireless medium. The verification signal may betransmitted via a wireless medium that is different than the beaconsignal. For example, the verification signal may be hindered by asurrounding structure (such as the walls of the building). Theverification signal may include visible light communication (VLC)signals and/or acoustic signals. The VLC and/or acoustic signals may behindered by surrounding structures. As such, surrounding structures mayhinder (e.g., reduce the magnitude of) or prevent a VLC and/or anacoustic signal from traveling beyond a surrounding structure. Forexample, a wall positioned between adjacent rooms may hinder or preventa VLC and/or an acoustic signal from traveling from one room to anotherroom, and thus being received (e.g., such as mistakenly received) by acontrol device is the other room. Thus, VLC and/or acoustic signals maybe used to verify that a beacon signal received within a room wastransmitted from within that room. For example, VLC and/or acousticsignals may be used to verify that a beacon signal received within aroom was intended to be received within that room.

The verification signal may include a unique identifier that indicatesthe location of the control device transmitting the verification signal.For example, the mobile device 182 may receive RF beacon signals fromcontrol devices located in adjacent rooms (e.g., rooms 102 and 104) andmay receive the verification signal from a control device located in oneof the rooms. The system controller 180 may conclude that the mobiledevice 182 is located in the room identified by the verification signal,as one of the received RF signals and the verification signal bothidentify the same room. For example, the verification signal may be aVLC signal transmitted by a lighting load (e.g., the lighting loads 122controlled by the dimmer switch 120 and/or the LED light sources 132controlled by the LED drivers 130) located in the same space as theoccupant. In addition, or alternatively, the verification signal may bean acoustic signal transmitted by a control device located in the samespace as the occupant. One or more verification signals may beimplemented. Though the VLC signal and the acoustic signal are describedas being verification signals, the RF beacon signal may verify thelocation being identified primarily in the VLC signal and/or theacoustic signal.

FIG. 5 is a flowchart of another example control procedure 500 forcontrolling (e.g., automatically controlling) electrical loads inresponse to the location of the mobile device 182 and/or the occupant180. The control procedure 500 may be executed by the system controller110, the mobile device 182, and/or one or more control devices. At 502,the example control procedure 500 may start. At 504, a location of amobile device 182 and/or occupant 180 may be determined. For example,the system controller 110 may determine a location of a mobile device182 and/or occupant 180. A location of the mobile device 182 and/oroccupant 180 may be determined in response to a unique identifier of anRF beacon signal received by the mobile device via a wirelesscommunication medium. For example, the system controller 110 maydetermine a location of the mobile device 182 and/or occupant 180 inresponse to a unique identifier of an RF beacon signal received by themobile device via a wireless communication medium (e.g., via ashort-range RF communication link, such as BLE, NFC, or the like).

At 506, the location of the mobile device 182 and/or occupant 180 may beverified. For example, the system controller 110 may verify the locationof the mobile device 182 and/or occupant 180. A verification signal maybe received via a different wireless communication medium. For example,the system controller 110 and/or the mobile device 182 may receive averification signal via a different wireless communication medium (e.g.,via visible light signals and/or acoustic signals). A locationassociated with the verification signal may be determined in response toa unique identifier of the verification signal. It may be verifiedwhether the location associated with the verification signal is the samelocation as determined from the RF beacon signal. If the location isverified, at 508, preset settings may be recalled (e.g., loaded), at510, based on the mobile device 182 and/or occupant 180, as describedherein. At 512, electrical loads may be controlled (e.g., automaticallycontrolled) in the space (e.g., room) according to the occupant controlparameters of the mobile device 182 and/or occupant 180 (e.g., as storedon the mobile device). For example, the system controller 110 mayautomatically control electrical loads in the room according topredetermined or preset settings for the occupant 180, which may be roomspecific settings. At 514, the example control procedure 500 may end. Ifthe location is not verified at 508, the example control procedure 500may exit without controlling the electrical loads, or by implementingdefault settings.

When there are multiple occupants in a single room, the systemcontroller 110 may determine an identify of each of the multipleoccupants and to control (e.g., automatically control) one or more ofthe load control devices according to the occupant control parametersassociated with each of the multiple occupants. For example, the systemcontroller 110 may control (e.g., automatically control) one or more ofthe load control devices using a priority (e.g., a predeterminedpriority, such as a tiered hierarchy) of occupants to determine whichoccupant's preset settings get priority. For example, the systemcontroller 110 may control the load control devices to a preset settingof the mobile device and/or occupant in the room that has the highestpriority. The priorities and/or tiered hierarchy may be determinedduring a configuration procedure of the load control system 100 and maybe stored in memory in the system controller 110. The priority may bebased on the location of the occupants within the space. For example,the occupant closest to a door or window or an occupant that is furthestfrom a door or window may be assigned the highest priority. The occupantclosest to the load control device may be assigned the highest priority,the occupant closest to the load may be assigned the highest priority,etc. The priority may be based on the order in which the occupantsentered the space. For example, the system controller 110 may controlone or more of the load control devices using the preset data and/oruser input received from the mobile device of the occupant to enter thespace earlier. The priority may be determined from a manual request tocontrol the loads of the room. For example, the priority may bedetermined from a manual request to control the loads of the room usingthe mobile device of the occupant. An occupant may relinquish control ofthe loads in the room using the mobile device (e.g., manually select aninput to relinquish control).

FIG. 6 is a flowchart of an example control procedure 600 forcontrolling (e.g., automatically controlling) electrical loads inresponse to the location of one or more mobiles devices and/or occupantswhen there may be multiple mobile devices and/or occupants in a singlespace. The control procedure 600 may be executed by the systemcontroller 110, the mobile device 182, and/or one or more controldevices. At 602, the example control procedure 600 may start. At 604,the location of one or more mobile devices 182 and/or occupants 182 maybe determined. For example, the system controller 110 may determine thelocation of one or more mobile devices 182 and/or occupants 182, asdescribed herein. At 606, it may be determined whether there aremultiple occupants in the space. For example, the system controller 110may determine if multiple occupants are in the space. Occupancies of thespace may be determined based on the presence of an occupant's mobiledevice 182, a sensor, etc. If, at 606, it is determined that there isone occupant 180 in the space, then, at 608, preset settings for themobile device 182 and/or the occupant 180 may be recalled accordingly.For example, the system controller 110 may recall preset settings forthe mobile device 182 and/or the occupant 180 accordingly, as describedherein.

If it is determined that there are multiple occupants in the space, at606, then, at 610, the system controller 110 may recall preset settingsfor the mobile device 182 and/or the occupant 180 having the highestpriority, as described herein. At 612, one or more control-targetdevices (e.g., electrical loads) may be controlled (e.g., automaticallycontrolled) according to the preset settings of the occupant 180 havingthe highest priority. At 614, the example control procedure 600 may end.

The system controller 110 may control (e.g., automatically control) theload control devices according to the occupant control parameters (e.g.,the occupant's preset settings) in response to determining the locationof the mobile device 182. The system controller 110 may control (e.g.,automatically control) the load control devices according to theoccupant's preset settings in response to determining the location ofthe mobile device 182. The system controller 110 may control (e.g.,automatically control) the load control devices according to theoccupant's preset settings in response to determining that one of theoccupancy sensors 172 has determined that the room in which the mobiledevice 182 is located is occupied.

FIG. 7 is a flowchart of an example control procedure 700 forcontrolling (e.g., automatically controlling) one or more electricalloads in response to the location of the mobile device 182 and/or theoccupant 180. The control procedure 700 may be executed by the systemcontroller 110, the mobile device 182, and/or one or more controldevices. The example control procedure 700 may start at 702. At 704, thelocation of one or more mobile devices 182 and/or occupants 182 may bedetermined. For example, the system controller 110 may determine thelocation of one or more mobile devices 182 and/or occupants 182. At 706,it may be determined whether the space is occupied. For example, thesystem controller 110 may determine whether the space is occupied usinginformation from the one or more mobile devices 182, sensor information,a camera, beacon signals, a microphone, keycard data, biometric data(e.g., fingerprint detection), etc. If it is determined that the spaceis not occupied, at 706, then the example control procedure 700 may end,at 712.

If it is determined that the space is occupied, at 706, the systemcontroller 110 may recall preset settings for a mobile device 182 and/oroccupant 180 located in the space, at 708. If it is determined that thespace is occupied, at 706, the system controller 1120 may control (e.g.,automatically control) one or more control-target devices (e.g.,controlling electrical loads) according to the preset settings, at 710.The system controller 110 may control one or more electrical loads inresponse to the location of the mobile device 182 and/or the occupant180. For example, if the space in which the mobile device and/oroccupant is located is occupied, the system controller 110 may controlone or more electrical loads in response to the location of the mobiledevice 182 and/or the occupant 180. The system controller 110 may beconfigured to control the load control devices and/or electrical loadsin a room to save energy when the mobile device 182 is not located inthe room (e.g., by turning off or reducing the amount of power deliveredto the load control devices and/or electrical loads).

The load control devices may be controlled according to the occupant'spreset settings when the occupant 180 actuates a button on one of theload control devices (e.g., one of the dimmer switches 120) in the roomin which the mobile device 182 is located. For example, the systemcontroller 110 may control (e.g., automatically control) the loadcontrol devices according to the occupant's preset settings in responseto determining the location of the mobile device 182 when the occupant180 actuates a button on one of the load control devices (e.g., one ofthe dimmer switches 120) in the room in which the mobile device 182 islocated. For example, the dimmer switch on which a button is actuatedmay determine the unique identifier of the mobile device 182 and tocontrol the controlled lighting load in response to the occupant'spreset settings (e.g., which may be stored in memory in the dimmerswitch). The load control device on which a button is actuated maydetermine the unique identifier of the closest mobile device 182 if morethan one mobile device 182 is determined to be present in a room. Theclosest mobile device 182 may be based on a ranging method (e.g., RSSI).

The preset settings for one or more occupants of the building may belearned. For example, the system controller 110 may learn the presetsettings for one or more occupants of the building. For example, eachtime that an occupant turns on a specific lighting load (e.g., byactuating a button of the corresponding dimmer switch 120), the systemcontroller 110 may store a desired intensity level to which theintensity of the lighting load was controlled. Each time that anoccupant turns on a specific lighting load (e.g., by actuating a buttonof the corresponding dimmer switch 120), the system controller 110 maystore the unique identifier of the mobile device 182 that is presentlylocated in the room of the dimmer switch (e.g., and/or the mobile device182 closest to the dimmer switch if more than one mobile device 182 isdetermined to be present in the room). If the occupant controls (e.g.,repetitively controls) the lighting load to the same desired intensitylevel upon entering the room more than a predefined number of times(e.g., more than two consecutive times, a defined percentage of thetime, etc.), the system controller 110 may store the desired intensitylevel as the preset level in the room for that occupant. When theactuator of the specific dimmer switch is actuated and the occupant'smobile device 182 is located in the room of the dimmer switch, thesystem controller 110 may cause the dimmer switch to control theintensity of the lighting load to the desired intensity level (e.g., thepreset level) that is stored in memory. The system controller 110 maycause (e.g., automatically cause) the dimmer switch to control theintensity of the lighting load to the desired intensity level when theoccupant's mobile device 182 enters the room of the dimmer switch (e.g.,without required actuation of the button of the dimmer switch).

One or more load control devices and/or electrical loads may becontrolled in response to detecting movement of an occupant 180. Forexample, the system controller 110 may control (e.g., predicativelycontrol) one or more load control devices and/or electrical loads inresponse to detecting movement of an occupant 180. The direction inwhich the occupant 180 is moving (e.g., a trajectory of the occupant180) may be determined and/or predicted. For example, the systemcontroller may determine and/or predict the direction in which theoccupant 180 is moving in response to detecting that the mobile device182 is moving through the building. The system controller 110 maycontrol the load control devices and/or the electrical loads at thedetermined and/or predicted destination of the occupant 180. Forexample, the system controller 110 may set the load control devicesand/or the electrical loads to the occupant's preset settings at thedetermined and/or predicted destination of the occupant before theoccupant 180 arrives at the destination. The system controller 110 maytransmit to the mobile device 182 the location of the mobile device 182.The mobile device 182 may display the location of the mobile device 182provided by the system controller 110. The system controller 110 maydetermine the location of rooms (e.g., conference rooms) and may providea list of the rooms in an order. For example, the system controller 110may provide a list of the conference rooms that are closest to themobile device 182. The system controller 110 may determine whether therooms (e.g., conference rooms) are available for use.

The determined and/or predicted destination of the occupant 180 may belearned. For example, the system controller 110 may learn the determinedand/or predicted destination of the occupant 180 by monitoring theoccupant's movements over a period of time (e.g., number of hours, days,weeks, etc.). For example, the occupant 180 may get up in the middle ofeach night and walk to the kitchen for a glass of water. The systemcontroller 110 may detect the occupant's movements and the time of day,and the system controller 110 may predictively determine to turn on thelights in the kitchen and/or the lights along the pathway to thekitchen. The system controller 110 may increase the intensity of lightsalong a predicted path of an occupant 180. The system controller 110 maydetermine a path of an occupant 180 via a combination of triangulationand vector analysis. The system controller 110 may learn a directionthat an occupant commonly takes. Setting of control devices may be basedon a user preference (e.g., the learned direction that an occupant maycommonly take). For example, if the system controller 110 determinesthat an occupant leaves his office and walks down the hall in thedirection of a colleague's office more than a predefined number oftimes, then the system controller 110 may control the intensity of thelights to be greater when that occupant 180 leaves his/her office andhis/her movement is determined to be in the direction of his/hercolleague. The system controller 110 may use time of day to adjust theintensity of the predicted path.

The velocity and/or momentum of the mobile device 182 and/or occupantmay be determined. For example, the system controller 110 may determinethe velocity and/or momentum of the mobile device 182 and/or occupant180 to control (e.g., automatically control) one or more load controldevices and/or electrical loads in response to determining the velocityand/or momentum of the mobile device 182 and/or occupant 180. Forexample, the system controller 110 may turn lighting loads on or offquicker if an occupant 180 is moving at a fast pace through a building.The pace of an occupant may be compared to a threshold value. Thethreshold value may be a generic threshold value relating to a genericperson's movement, and/or the threshold value may be a customizedthreshold value relating to a particular occupant's movement (e.g.,based on previous paces performed by a particular occupant). Inaddition, or alternatively, the system controller 110 may determine thatan occupant 180 is running (e.g., an emergency condition may beoccurring) and turn each of the lighting loads on to full intensity in aspace or in a direction of the occupant 180.

The system controller 110 may determine the location of a mobile device182 and/or a remote control device 170 and react and/or respond when itis determined that the mobile device 182 and/or the remote controldevice 170 is in an authorized space and/or an unauthorized space (e.g.,room, house, office building, etc.). For example, the system controller110 may determine whether a device is attempting to control one or morecontrol-target devices from an unauthorized location. The systemcontroller 110 may determine whether a device is attempting to controlone or more control-target devices from outside of a user's house, in anadjacent space or building, etc. The system controller 110 may trackoccupants within restricted areas using their mobile device 182. Forexample, if the system controller 110 determines that an occupant hasentered a restricted area, the system controller 110 may sound an alarm(e.g., visual, audio, etc.), indicate to the occupant that they are in arestricted area (e.g., flash the lights), provide a message via theoccupant's mobile device 182, etc. Each occupant may have a storedaccess level stored (e.g., on the mobile device 182, system controller110, etc.) with an occupant identifier and/or mobile device identifier,which may correspond to access to different areas. In another example,an identifier of the authorized location and/or unauthorized locationsmay be stored with the occupant identifier and/or mobile deviceidentifier.

The system controller 110 may provide access to control devices locatedwithin a designated area. For example, the system controller 110 mayprovide access to control devices located within an office to adesignated user (e.g., a user to which the area is designated). Anon-designated user (e.g., a user in which the area is not designated)may access the control devices if the designated user is not present.For example, if a designated user is not in his/her office, anon-designated user may access the control devices within the office,based on proximity of the non-designated user's mobile device 182 andthe control devices within the office. A designated owner may provide ordeny access of the control devices to one or more non-designated users.For example, a designated user may provide access to a non-designateduser and/or deny access to another non-designated user. The designateduser may provide access and/or deny access via notifications (e.g., pushnotifications). The notifications to provide access and/or deny accessmay be changed at a later time. For example, a designated user mayprovide access to a non-designated user and later revoke the providedaccess to the non-designated user.

The system controller 110 may provide access to control devices locatedwithin shared areas. For example, the system controller 110 may provideaccess to control devices located within a shared office and/or within aconference room. A user may use a mobile device 182 to request access tocontrol devices located within a shared area when the mobile device 182of the user is positioned within a predefined distance to the sharedarea. One or more mobile devices may assign ownership to a shared space.To assign ownership of a shared space, a user may be provided withprivileges and/or a defined status (e.g., existing owner, administrator,etc.).

The owner of the space may use the mobile device 182 to designateanother user as owner of the space, and/or the owner of the space maydesignate another user as a guest of the space. When another user isdesignated as owner of the space, the owners may be designated asco-owners. Two or more users and/or co-owners of a space may determinethe use of control devices within a shared space. For example, two ormore co-owners within a shared space may vote to determine the use ofcontrol devices within a shared space. Users having a defined status(e.g., super user, original owner) may be provided with an ability tooverride other user preferences with respect to the use of controldevices within a shared space. For example, users having a definedstatus may veto proposed uses of control devices and/or users having adefined status may be provided additional voting rights when defininguses of control devices within a shared space.

The system controller 110 may provide rules for accessing controldevices within a shared area (such as a conference room). The access tothe control devices may be exclusive access to the control device orshared access to the control device. The system controller 110 mayprovide exclusive access of the control devices within a shared area tothe first mobile device to attempt access to the area. For example, thesystem controller 110 may provide access of the control device within ashared area to the first mobile device that books the shared area withina calendar software. The system controller 110 may provide access of thecontrol device within a shared area to all users having a mobile deviceand/or the system controller 110 may provide access of the controldevice within a shared area based on a seniority (e.g., the most seniorrequester of the control devices within a shared area may have access tothe control devices). The mobile device 182 that is closest to thecontrol device may have access to the control device. The access to thecontrol device within a shared area may be provided (e.g., handed off)to another user. For example, a user that is accessing a control devicemay hand control to another user by selecting the other user from a listof users and/or by each of the users tapping the others mobile device.

The system controller 110 may track occupants via their mobile device182 during an emergency. For example, the system controller 110 maydetermine whether one or more occupants are in a building during anemergency. If the system controller 110 determines that one or moreoccupants are in a building during an emergency, the system controller110 may determine the spaces (e.g., floors, rooms, etc.) in which theoccupants are located. The system controller 110 may sound an alarm(e.g., visual, audio, etc.) within the occupant's location, indicate tothe occupant that there is an emergency (e.g., flash the lights),provide a message indicating the emergency via the occupant's mobiledevice 182, etc. The system controller 110 may confirm whether each ofthe occupants are out of a space during an emergency situation.

The system controller 110 may calculate the utilization of differentspaces (e.g., rooms) based on occupant tracking (e.g., tracking ofoccupants using their respective mobile devices). For example, thesystem controller 110 may determinate the capacity in a space of abuilding and/or calculate the number of occupants (e.g., via theirmobile device 182) in the space over time. The system controller 110 maydetermine rooms that are underutilized and rooms that are over utilized,based on this information. For example, the system controller 110 maydetermine that a conference room is underutilized if the conference roomhas a capacity of ten people and is being used by two people for onehour a week. Management may make personnel decisions based on theoccupant tracking information. The occupant tracking information may berefined using time of day, day of the week, etc., information. Forexample, the system controller 110 may use occupant tracking informationto determine whether additional space is required, whether particularspaces are being underutilized, etc.

The system controller 110 may determine the status of one or more rooms(e.g., hotel rooms), based on information received from a mobile device182. For example, a user may register their mobile device 182 with ahotel when checking in. The system controller 110 may determine thestatus of the user's hotel room (e.g., do not disturb, ready forservice, unsold room, etc.), based on whether the mobile device 182 isin the room. For example, the system controller 110 may determine therooms within the hotel that are “ready for service,” based on adetection of the mobile device 182 within a room. For example, thesystem controller 110 may illuminate a light outside of the room, send amessage to a mobile device 182 of the cleaning staff, display a statusindicator on a computing device, etc., to indicate that a room withinthe hotel is “ready for service,” “not to be disturbed,” “unsold,” etc.

The present application has been described with reference to the systemcontroller 110 interacting between the control-source devices (e.g., theinput devices) and the control-target devices (e.g., the load controldevices). However, the control-source devices may transmit digitalmessage directly to the control-target devices. While the presentdisclosure has been described with reference to the mobile device 182and/or the input devices determining their locations, any of the controldevices (e.g., including the load control devices) may be configured todetermine their own location. The system controller 110 may determinethe location of any of the control devices.

As described herein, the mobile device 182 may include one or moresensing devices for sensing biometric data that defines the physicalcondition (e.g., behavior, movement, comfort, and/or health) of theoccupant 180 when the mobile device 182 is a wearable wireless device.The system controller 110 may automatically control the load controldevices (e.g., the dimmer switch 120, the LED drivers 130, the plug-inload control devices 140, the motorized window treatments 150, and/orthe temperature control devices 160) and/or electrical loads in responseto the parameters measured by the sensing devices of the mobile device182. For example, the system controller 110 may turn on or off or adjustthe intensity of the lighting loads 122 and/or the LED light sources 132in response to the parameters measured by the sensing devices of themobile device 182. The system controller 110 may adjust the colortemperature of the LED light sources 132 in response to the parametersmeasured by the sensing devices of the mobile device 182. The systemcontroller 110 may adjust the color temperature of the LED light sources132 based on the number of occupants in a room and/or the preferences ofthe occupants within the room. The system controller 110 may adjust theposition of the motorized window treatments 150 in response to theparameters measured by the sensing devices of the mobile device 182. Thesystem controller 110 may adjust the setpoint temperature of the HVACsystem 162 and/or turn a fan of the HVAC system on or off in response tothe parameters measured by the sensing devices of the mobile device 182.

The system controller 110 may control the load control devices inresponse to the parameters measured by the sensing devices of the mobiledevice 182 to attempt to adjust the state or physical condition of theoccupant 180. For example, if the system controller 110 determines thatthe stress level of the occupant 180 is increasing, the systemcontroller 110 may decrease the intensity of the lighting loads 122,adjust the color temperature of the LED light sources 132 to a coolercolor, open the motorized window treatments 150, decrease the setpointtemperature of the HVAC system 162, and/or cause the speaker 146 to playsoothing music or sounds. If the system controller 110 determines thatthe occupant 180 is quickly moving around the space, the systemcontroller may increase the intensity of the lighting loads 122, and/ordecrease the setpoint temperature of the HVAC system 162.

The amount that each load control device and/or electrical load iscontrolled may be dependent upon the levels of the parameters measuredby the sensing devices of the mobile device 182 (e.g., the exact stresslevel of the occupant 180). The system controller 110 may determine howto control the load control devices and/or the electrical loads inresponse to the unique identifier of the mobile device 182. For example,the unique identifier may indicate a medical condition of the occupant180, such that the system controller 110 is able to control the loadcontrol devices and/or the electrical loads in response to theparameters measured by the sensing devices of the mobile device 182.

The system controller 110 may control the load control devices and/orthe electrical loads to save energy in response to the parametersmeasured by the sensing devices of the mobile device 182. The systemcontroller 110 may determine that the occupant has just fallen asleep inresponse to the parameters measured by the sensing devices of the mobiledevice 182 and to turn off and or reduce the amount of power deliveredto one or more of the electrical loads.

The system controller 110 may control the load control devices and/orelectrical loads in response to determining that the occupant 180 isasleep or awake. For example, the system controller 110 may determinethat the occupant has just fallen asleep in response to the parametersmeasured by the sensing devices of the mobile device 182 and to turn offand/or reduce the amount of power delivered to one or more of theelectrical loads (e.g., such as turning off the lighting loads 122, thetelevision 144, a radio, etc.) The system controller 110 may adjust thesetpoint temperature of the HVAC system 162 in response to the bodytemperature of the occupant 180 to ensure comfort of the occupant whilesleeping. The system controller 110 may determine that the occupant isasleep and is starting to wake up in response to the parameters measuredby the sensing devices of the mobile device 182 and to then slowlyincrease the intensity of the lighting loads 122, adjust the colortemperature of the LED light sources 132, and/or raise the motorizedwindow treatments 150 to improve the experience of the occupant 180while waking up.

The system controller 110 may control (e.g., automatically control) theload control devices and/or electrical loads to provide an alarm orwarning in response to the parameters measured by the sensing devices ofthe mobile device 182. For example, the system controller 110 may blinkthe lighting loads 122 and/or generate an alarm with the speaker 146 inthe vicinity of the occupant 180 and/or a caregiver of the occupant. Forexample, the system controller 110 may determine an abnormal conditionwith the occupant 180 while sleeping, and to blink the lighting loads122 and/or generate an alarm with the speaker 146 in the vicinity of acaregiver of the occupant 180. The system controller 110 may beconfigured to blink the lighting loads 122 and/or adjust the colortemperature of the LED light sources 132 in the vicinity of the occupant180 to indicate the location of the occupant to the caregiver.

FIGS. 8A, 8B, and 8C are timing diagrams illustrating examplecommunication modes in which a control device (e.g., system controller,control-source device, and/or control-target device) and/or the beacontransmitting device may communicate over a period of time whencommissioning and/or controlling the load control system 100. Forexample, using a periodic beacon communication mode (as illustrated intiming diagram 800 shown in FIG. 8A), the control device and/or thebeacon transmitting device may transmit messages during a beacon signaltransmission time period 802 and/or a load control communication timeperiod 804. During the beacon signal transmission time period 802, thecontrol device and/or the beacon transmitting device may transmit one ormore beacon signals (e.g., using one or more protocols, such as theBluetooth® protocol, the Bluetooth® low energy beacon protocol, VLCprotocol, etc.). During the load control communication time period 804,the control device and/or the beacon transmitting device may transmitand/or receive messages on the same or another communication protocol(e.g., a standard protocol, such as the Bluetooth® two-way communicationprotocol; a proprietary communication protocol, such as the ClearConnect® protocol; etc.). When the control device and/or the beacontransmitting device operates in the load control communication timeperiod 804, the control device and/or the beacon transmitting device maytransmit and/or receive commands (e.g., commands that include loadcontrol instructions and/or association instructions) for performingoperations in the load control system 100.

The control device and/or the beacon transmitting device may provideone-way communication during the beacon signal transmission time period802. For example, during the beacon signal transmission time period 802,the control device and/or the beacon transmitting device may transmitdigital messages which may include identification information of thecontrol device and/or the beacon transmitting device. The digitalmessages may include a location associated with the control deviceand/or the beacon transmitting device. During the load controlcommunication time period 804, the control device and/or the beacontransmitting device may transmit and/or receive digital messages. Forexample, during the load control communication time period 804, thecontrol device and/or the beacon transmitting device may transmit and/orreceive messages so that the association of the control devices may beperformed. Though FIG. 2 shows a number of transitions between thebeacon signal transmission time period 802 and the load controlcommunication time period 804, any number of transitions may beperformed.

The control device and/or the beacon transmitting device may switchbetween time periods automatically. For example, the control deviceand/or the beacon transmitting device may periodically switch from thebeacon signal transmission time period 802 to the load controlcommunication time period 804. The control device and/or the beacontransmitting device may switch from the load control communication timeperiod 804 to the beacon signal transmission time period 802 so that thecontrol device and/or the beacon transmitting device may transmit beaconsignals and the association of the control devices may be performed. Forexample, the control device and/or the beacon transmitting device mayswitch from the load control communication time period 804 to the beaconsignal transmission time period 802 so that one or more control devicesmay be associated with one or more other devices (e.g., systemcontrollers, remote control devices, etc.). After configuration of theload control system has been completed, the control device and/or thebeacon transmitting device may switch from the load controlcommunication time period 804 to the beacon signal transmission timeperiod 802 so that control devices may transmit beacon signals to allowfor control of the load control system has completed.

In an example, the control device and/or the beacon transmitting devicemay communicate via a protocol (e.g., the Bluetooth® low energyprotocol) during the beacon signal transmission time period 802 and mayreturn to the protocol (e.g., the Clear Connect® protocol) being usedduring the load control communication time period 804. The beacon signaltransmission time period 802 and the load control communication timeperiod 804 may be configurable. For example, the mobile device 182 mayreceive an indication of a change to the beacon signal transmission timeperiod 802 and/or the load control communication time period 804. Theindication of the change to the beacon signal transmission time period802 and/or the load control communication time period 804 may becommunicated (e.g., directly or via the system controller) to thecontrol device and/or the beacon transmitting device.

The control device and/or the beacon transmitting device may switch fromthe beacon signal transmission time period 802 to the load controlcommunication time period 804 (and vice-versa), based on an instruction.The instruction may be from a mobile device 182 (e.g., upon receipt of abutton press on the mobile device 182). The instruction may be performedby one or more devices. For example, the control device and/or thebeacon transmitting device may switch from the beacon signaltransmission time period 802 and/or the load control communication timeperiod 804, based on an instruction from another control device (e.g.,system controller 110, control-source device, and/or control-targetdevice).

FIG. 8B shows a timing diagram 850 in which the control device and/orthe beacon transmitting device may switch between a periodic beaconcommunication mode and a continuous two-way configuration mode. Whileoperating in the periodic beacon communication mode, the control deviceand/or the beacon transmitting device may transmit messages during abeacon signal transmission time period 802 and a load controlcommunication time period 804 (e.g., as also shown in FIG. 8A). Thecontrol device and/or the beacon transmitting device may transmit one ormore beacons via one or more protocols (e.g., a Bluetooth® low energyprotocol, VLC protocol, etc.) within the beacon signal transmission timeperiod 802. The control device and/or the beacon transmitting device maytransmit and/or receive communications in the same protocol or anotherprotocol during the load control communication time period 804.

The control device may transition to the continuous two-wayconfiguration mode, in which the control device may transmit messagesduring a continuous two-way configuration time period 360. Thecontinuous two-way configuration time period 810 may be a dedicatedtwo-way communication mode for transmitting and receiving digitalmessages, or a dedicated one-way communication mode for transmitting orreceiving digital messages. For example, while in the continuous two-wayconfiguration time period 810, the control device may send and/orreceive digital messages via the Bluetooth® protocol, the Bluetooth®low-energy protocol, the NFC protocol, the Wi-Fi® protocol, the ZIGBEE®protocol, etc. During the continuous two-way configuration time period810, the control device and/or the beacon transmitting device maycommunicate using the same protocol as used during the beacon signaltransmission time period 802, or a protocol that is different than theprotocol used during the beacon signal transmission time period 802. Thecontrol device and/or the beacon transmitting device may switch from theperiodic beacon communication mode to the continuous two-wayconfiguration mode so that the control devices may be configured (e.g.,after association is completed). For example, the control device and/orthe beacon transmitting device may switch from the periodic beaconcommunication mode to continuous two-way configuration mode so that theoperational settings (e.g., high-end trim, low-end trim, fade rates,etc.) of the control devices may be configured.

The control device and/or the beacon transmitting device may switch tothe continuous two-way configuration mode, based on a time and/or basedon an instruction (e.g., an instruction received during the load controlcommunication time period 804 or an additional time period immediatelyfollowing the beacon signal transmission time period 802). Theinstruction may be received from the mobile device 182 and/or from oneor more other devices. The instruction from the mobile device 182 may bein response to a beacon signal received by a control device. Forexample, after the mobile device 182 receives the beacon signal, themobile device 182 may display a beacon detection screen. A backgroundapplication of the mobile device 182 may be displayed in the foregroundof the mobile device 182 as a beacon detection screen. An encryptedpasscode that corresponds to the control device sending the beacon maybe determined. For example, the mobile device 182 may determine anencrypted passcode that corresponds to the control device that sent thebeacon. The mobile device 182 may use the unique identifier of thecontrol device, received within the beacon, to determine thecorresponding passcode. For example, the mobile device 182 may use alookup table and the unique identifier of the control device todetermine the passcode.

The control device may receive a scan request directly from the mobiledevice 182 and/or the control device may receive the scan request via anintermediary device (e.g., a system controller, such as systemcontroller 110). The scan request may include encrypted passcodeinformation, based on the unique identifier provided by the controldevice. The control device may determine whether the received encryptedpasscode is correct. If the control device determines that the encryptedpasscode is correct, the control device may switch to the continuoustwo-way configuration time period 810. The continuous two-wayconfiguration time period 810 may be a dedicated Bluetooth® low-energymode, for example, in which the control device may communicate using theBluetooth® low-energy protocol. The Bluetooth® low-energy protocol maybe a two-way communication protocol. For example, the control device mayreceive digital messages via the Bluetooth® low-energy protocol and/orsend digital messages via the Bluetooth® low-energy protocol, if thecontrol device is communicating using the two-way communicationprotocol.

Though FIG. 8B shows an example transition between the periodic beacontransmission mode (e.g., including the beacon signal transmission timeperiod 802 and the load control communication time period 804), and thecontinuous two-way configuration mode (e.g., including the continuoustwo-way configuration time period 810), any number of transitions may beperformed. For example, the control device may transition back to theperiodic beacon transmitting mode after the continuous two-wayconfiguration mode, such that the beacon signal transmission time period802 and the load control communication time period 804 may occur afterthe continuous two-way configuration time period 810.

The control device and/or the beacon transmitting device may transmitdigital messages in an association mode during the configuration of theload control system. For example, the system controller 110 may causethe control device and/or the beacon transmitting device to operate inan association mode of operation during the configuration procedure ofthe load control system. The system controller 110 may cause the controldevice to operate in the association mode of operation after anassociation procedure of the control device capable of transmittingbeacon signals. The association procedure may include the systemcontroller 110 receiving information (e.g., location, identifiers, etc.)of the load control devices to access and/or control the associated loadcontrol devices. The mobile device 182 may send digital messages via thesystem controller 110 to control the load control devices associatedwith the unique identifier. For example, the system controller 110 maytransmit a digital message to the control device to cause the controldevice to enter the association mode of operation after the associationprocedure. The control device may cease transmitting beacon signalsand/or transmit the beacon signals at a lower power level in theassociation mode of operation, for example, to consume less power and/orreduce RF traffic on the short-range RF communication link. Ceasing totransit the beacon signals and/or transmitting the beacon signals at alower power level may hinder the mobile device 182 from hearing thebeacon signals from that control device. For example, ceasing to transitthe beacon signals and/or transmitting the beacon signals at a lowerpower level may hinder the mobile device 182 from hearing the beaconsignals from that control device while trying to associate other controldevices during the configuration procedure.

FIG. 8C shows a timing diagram 875 in which the control device and/orthe beacon transmitting device may switch between a periodic beaconcommunication mode and a continuous two-way control mode. Whileoperating in the periodic beacon communication mode, the control deviceand/or the beacon transmitting device may transmit messages during abeacon signal transmission time period 802 and a load controlcommunication time period 804. The control device may transition to thecontinuous two-way control mode, in which the control device maytransmit messages during a continuous two-way control time period 814.The control device and/or the beacon transmitting device may transitionto the continuous two-way control time period 814 so that the controldevices may be controlled (e.g., controlled via the system controller110 and/or the mobile device 182) after the association procedure iscompleted. The control device and/or the beacon transmitting device maycommunicate in the same protocol during the load control communicationtime period 804 and during the continuous two-way time period 814. Forexample, while in the continuous two-way control time period 814, thecontrol device and/or the beacon transmitting device may send and/orreceive digital messages via an RF protocol (e.g., a standard RFprotocol, such as NFC, Wi-Fi®, ZIGBEE®; and/or a proprietary RFprotocol, such as the Clear Connect® protocol, etc.).

The control device and/or the beacon transmitting device may switch tothe continuous two-way control mode, based on a time and/or based on aninstruction (e.g., received during the load control communication timeperiod 804 or during the continuous two-way configuration time period810 shown in FIG. 8B). The instruction may be from the mobile device 182and/or from one or more other devices. The instruction from the mobiledevice 182 may be in response to a beacon signal received by a controldevice. For example, after the mobile device 182 receives the beaconsignal, the mobile device 182 may display a beacon detection screen. Abackground application of the mobile device 182 may be displayed in theforeground of the mobile device 182 as a beacon detection screen. Anencrypted passcode that corresponds to the control device sending thebeacon may be determined. For example, the mobile device 182 maydetermine an encrypted passcode that corresponds to the control devicethat sent the beacon. The mobile device 182 may use the uniqueidentifier of the control device, received within the beacon, todetermine the corresponding passcode. For example, the mobile device 182may use a lookup table and the unique identifier of the control deviceto determine the passcode.

The control device may receive a scan request directly from the mobiledevice 182 and/or the control device may receive the scan request via anintermediary device (e.g., a system controller, such as systemcontroller 110). The scan request may include encrypted passcodeinformation, based on the unique identifier provided by the controldevice. The control device may determine whether the received encryptedpasscode is correct. If the control device determines that the encryptedpasscode is correct, the control device may switch to the continuoustwo-way control time period 814. The continuous two-way control timeperiod 814 may be a dedicated ClearConnect® mode. For example, thecontrol device may switch its mode to a ClearConnect® mode thatcommunicates using the ClearConnect® protocol. While in theClearConnect® mode, the control device may communicate with one or moreother control devices that communicate via the ClearConnect® protocol.The control device may switch between a Bluetooth® low-energy protocoland a ClearConnect® protocol.

Though FIG. 8C shows an example transition between the periodic beacontransmission mode (e.g., including the beacon signal transmission timeperiod 802 and the load control communication time period 804), and thecontinuous two-way control mode (e.g., including the continuous two-waycontrol time period 814), any number of transitions may be performed.After the continuous two-way configuration time period 810 (in FIG. 8B),the control device and/or the beacon transmitting device may transitionto the periodic beacon communication mode (e.g., including the beaconsignal transmission time period 802 and the load control communicationtime period 804), as shown in FIG. 8A, and/or the control device and/orthe beacon transmitting device may transition to the continuous two-waycontrol mode (e.g., including the continuous two-way control time period814), as shown in FIG. 8C. After the continuous two-way control timeperiod 814 (in FIG. 8C), the control device and/or the beacontransmitting device may transition to the periodic beacon communicationmode (e.g., including the beacon signal transmission time period 802 andthe load control communication time period 804), as shown in FIG. 8A,and/or the control device and/or the beacon transmitting device maytransition to the continuous two-way configuration mode (e.g., includingthe continuous two-way configuration time period 810), as shown in FIG.8B.

The control device may transmit in the continuous two-way control timeperiod 814 when the mobile device 182 snaps onto the control device. Forexample, the control device may switch to the continuous two-way controltime period 814 when the mobile device 182 snaps onto the control deviceso that the control device can transmit or receive instructions forconfiguring/controlling the load control system. As the mobile device182 snaps onto the control device, the control device may no longerbeacon.

FIG. 9 is a flowchart of an example procedure 900 for switching the modeof a control device, based on the control device receiving a passcode.At 902, the example procedure 900 may start. At 904, a beacon signal maybe sent. For example, a control device may send a beacon signal. Thebeacon signal may contain information (e.g., a unique identifier of thecontrol device, such as a serial number of the control device). Thebeacon signal may be sent for a duration of time. The beacon signal maybe a Bluetooth® low-energy signal. The beacon signal may be received bya mobile device. After the mobile device receives the beacon signal, themobile device may display a beacon detection screen. For example, abackground application of the mobile device may be displayed in theforeground of the mobile device as a beacon detection screen. Anencrypted passcode that corresponds to the control device sending thebeacon may be determined. For example, the mobile device may determinean encrypted passcode that corresponds to the control device that sentthe beacon. The mobile device may use the unique identifier of thecontrol device, received within the beacon, to determine thecorresponding passcode. For example, the mobile device may use a lookuptable and the unique identifier of the control device to determine thepasscode.

At 906, the control device may receive a scan request. The controldevice may receive the scan request directly from the mobile deviceand/or the control device may receive the scan request via anintermediary device (e.g., a system controller, such as systemcontroller 110). The scan request may include information. For example,the scan request may include encrypted passcode information, based onthe unique identifier provided by the control device. The control devicemay perform a determination, at 908. For example, the control device maydetermine whether the received encrypted passcode is correct. If theencrypted passcode is incorrect, the procedure may end, at 912. If, at908, the control device determines that the encrypted passcode iscorrect, the control device may switch its mode, at 910. For example, ifthe control device determines that the encrypted passcode is correct,the control device may switch its mode to a Bluetooth® low-energy mode.The Bluetooth® low-energy mode may be a dedicated Bluetooth® low-energymode, for example, in which the control device may communicate using theBluetooth low-energy protocol. The Bluetooth® low-energy protocol may bea two-way communication protocol. For example, the control device mayreceive digital messages in Bluetooth® low-energy and/or send digitalmessages in Bluetooth® low-energy, if the control device iscommunicating using the two-way communication protocol. The controldevice may also, or alternatively, switch its mode to a ClearConnect®mode. For example, the control device may switch its mode to aClearConnect® mode that communicates using the ClearConnect® protocol.While in the ClearConnect® mode, the control device may communicate withone or more other control devices that communicate via the ClearConnect®protocol. The control device may switch between a Bluetooth® low-energyprotocol (e.g., beacon mode and/or two-way communication mode) and aClearConnect® protocol.

FIG. 10 is a block diagram illustrating an example network device 1000as described herein. The network device may be a mobile device (such asmobile device 182, shown in FIG. 1A. The network device 1000 may includea control circuit 1002 for controlling the functionality of the networkdevice 1000. The control circuit 1002 may include one or more generalpurpose processors, special purpose processors, conventional processors,digital signal processors (DSPs), microprocessors, integrated circuits,a programmable logic device (PLD), application specific integratedcircuits (ASICs), and/or the like. The control circuit 1002 may performsignal coding, data processing, power control, image processing,input/output processing, and/or any other functionality that enables thenetwork device 1000 to perform as described herein.

The control circuit 1002 may store information in and/or retrieveinformation from the memory 1004. The memory 1004 may include anon-removable memory and/or a removable memory. The non-removable memorymay include random-access memory (RAM), read-only memory (ROM), a harddisk, and/or any other type of non-removable memory storage. Theremovable memory may include a subscriber identity module (SIM) card, amemory stick, a memory card (e.g., a digital camera memory card), and/orany other type of removable memory.

The network device 1000 may include a visible light sensor 1006 that maybe in communication with the control circuit 1002. The visible lightsensor may include a camera, such as a digital camera or other opticaldevice capable of generating images or videos (e.g., image sequences)for being captured at the network device 1000 using visible light. Thevisible light sensor may include a light capable of flashing,modulating, or turning on/off in response to signals received from thecontrol circuit. Though the visible light sensor 1006 is shown in FIG.10, the network device 1000 may include a photo sensor and/or otherdevice capable of recognizing visible light communications.

The network device 1000 may include a wireless communication circuit1010 for wirelessly transmitting and/or receiving information. Forexample, the wireless communications circuit 1010 may include an RFtransceiver for transmitting and receiving RF communication signals viaan antenna 1012, or other communications module capable of performingwireless communications. Wireless communications circuit 1010 may be incommunication with the control circuit 1002 for communicatinginformation to and/or from the control circuit 1002. For example, thewireless communication circuit 1010 may send information from thecontrol circuit 1002 via network communication signals. The wirelesscommunication circuit 1010 may send information to the control circuit1002 that are received via network communication signals.

The control circuit 1002 may be in communication with a display 1008.The display may provide information to a user in the form of a graphicaland/or textual display. The control circuit 1002 may signal the display1008, or portions thereof, to modulate or turn on/off to communicateinformation from the display 1008. The communication between the display1008 and the control circuit 1002 may be a two way communication, as thedisplay 1008 may include a touch screen module capable of receivinginformation from a user and providing such information to the controlcircuit 1002.

The network device 1000 may include an actuator 1016. The controlcircuit 1002 may be responsive to the actuator 1016 for receiving a userinput. For example, the control circuit 1002 may be operable to receivea button press from a user on the network device 1000 for making aselection or performing other functionality on the network device 1000.The actuator 1016 may include a biometric sensor that defines a physicalcondition (e.g., behavior, movement, comfort, and/or health) of theuser. The biometric sensor may include, for example, a fingerprintscanner, an eye scanner, and a heart rate monitor capable of identifyingheart rate information for the user.

The network device 1000 may include a microphone 1018. The controlcircuit 1002 may receive audio signals via the microphone 1018.

The network device 1000 may include one or more position determiningcircuits 1020. The position determining circuit 1020 may be capable ofdetermining the position and/or movement of the network device 1000.Position determining circuit 1020 may include a global positioningsystem (GPS) circuit, a gyroscope, and/or an accelerometer. The GPScircuit may be capable of receiving GPS information. The control circuit1020 may be capable of determining the GPS coordinates of the networkdevice 1000 based on the GPS information received via the GPS circuit.The gyroscope may identify an orientation of the network device 1000.For example, the control circuit 1002 may be capable of determining theorientation of the network device 1000 based on the orientationinformation received via the gyroscope. The accelerometer may identifyan acceleration of the network device 1000. The accelerometer may beused (e.g., used by the control circuit 1002) to detect magnitude and/ordirection of the acceleration of the network device 1000, such as in theform of a vector, an orientation of the network device 1000, and/orvibrations of the network device 1000.

Each of the modules within the network device 1000 may be powered by apower source 1014. The power source 1014 may include an AC power supplyor DC power supply, for example. The power source 1014 may generate a DCsupply voltage Vcc for powering the modules within the network device1000.

FIG. 11 is a block diagram of an example system controller 1100. Thesystem controller 1100 may include a control circuit 1110, which mayinclude one or more of a processor (e.g., a microprocessor), amicrocontroller, a programmable logic device (PLD), a field programmablegate array (FPGA), an application specific integrated circuit (ASIC), orany suitable processing device. The control circuit 1110 may performsignal coding, data processing, image processing, power control,input/output processing, and/or any other functionality that enables thesystem controller 1100 to perform as described herein. The systemcontroller 1100 may include a network communication circuit 1112 thatmay be coupled to a network connector 1114 (e.g., an Ethernet jack),which may be adapted to be connected to a wired digital communicationlink (e.g., an Ethernet communication link) for allowing the controlcircuit 1110 to communicate with network communication devices on anetwork. The network communication circuit 1112 may be wirelesslyconnected to the network, e.g., using Wi-Fi® technology to transmitand/or receive network communication signals.

The system controller 1110 may include a wireless communication circuit1116, for example, including an RF transceiver coupled to an antenna fortransmitting and/or receiving RF communication signals. The wirelesscommunication circuit 1116 may communicate using a proprietary protocol(e.g., the ClearConnect® protocol). The control circuit 1110 may becoupled to the wireless communication circuit 1116 for transmittingdigital messages via the RF communication signals, for example, tocontrol the load control devices in response to digital messagesreceived via the network communication circuit 1112. The control circuit1110 may receive digital messages, for example, from the load controldevices and/or other control-source devices.

The control circuit 1110 may be responsive to an actuator 1120 forreceiving a user input. For example, the control circuit 1110 may beoperable to associate the system controller 1100 with one or moredevices of a load control system in response to actuations of theactuator 1120. The system controller 1100 may include additionalactuators to which the control circuit 1110 may be responsive.

The control circuit 1110 may store information in and/or retrieveinformation from the memory 1118. The memory 1118 may include anon-removable memory and/or a removable memory for storingcomputer-readable media. The non-removable memory may includerandom-access memory (RAM), read-only memory (ROM), a hard disk, and/orany other type of non-removable memory storage. The removable memory mayinclude a subscriber identity module (SIM) card, a memory stick, amemory card (e.g., a digital camera memory card), and/or any other typeof removable memory. The control circuit 1110 may access the memory 1118for executable instructions and/or other information that may be used bythe system controller 1100. The control circuit 1110 may store thedevice identifiers of the devices to which the system controller 1100 isassociated in the memory 1118. The control circuit 1110 may accessinstructions in the memory 1118 for transmitting instructions and/orperforming other functions described herein.

The system controller 1100 may include a power supply 1124 forgenerating a DC supply voltage Vcc for powering the control circuit1110, the network communication circuit 1112, the wireless communicationcircuit 1116, the memory 1118, the visual indicator 1122, and/or othercircuitry of the system controller 1100. The power supply 1124 may becoupled to a power supply connector 1126 (e.g., a USB port) forreceiving a supply voltage (e.g., a DC voltage) and/or for drawingcurrent from an external power source.

FIG. 12 is a block diagram illustrating an example load control device1200. The load control device 1200 may be a control-target device, suchas a lighting control device, for example. The load control device 1200may be a dimmer switch, an electronic switch, an electronic ballast forlamps, an LED driver for LED light sources, a plug-in load controldevice, a temperature control device (e.g., a thermostat), a motor driveunit for a motorized window treatment, or other load control device. Theload control device 1200 may include a communication circuit 1202. Thecommunication circuit 1202 may include an RF receiver, an RFtransceiver, or other communication module capable of performing wiredand/or wireless communications. The wireless communications may beperformed via an antenna 1216.

The communication circuit 1202 may be in communication with a controlcircuit 1204. The control circuit 1204 may include one or more generalpurpose processors, special purpose processors, conventional processors,digital signal processors (DSPs), microprocessors, integrated circuits,a programmable logic device (PLD), application specific integratedcircuits (ASICs), or the like. The control circuit 1204 may performsignal coding, data processing, power control, input/output processing,or any other functionality that enables the load control device 1200 toperform as described herein.

The control circuit 1204 may store information in and/or retrieveinformation from a memory 1206. For example, the memory 1206 maymaintain a device database of associated device identifiers,instructions for modulating an electrical load 1210 to communicatevisible light communications, and/or other executable instructions forperforming as described herein. The memory 1206 may include anon-removable memory and/or a removable memory. The load control circuit1208 may receive instructions from the control circuit 1204 and maycontrol the electrical load 1210 based on the received instructions. Forexample, the control circuit 1204 may use the load control circuit 1208to modulate the electrical load 1210 according to instructions receivedto transmit visible light communications (e.g., to transmit a beacon).The load control circuit 1208 may receive power via the hot connection1212 and the neutral connection 1214 and may provide an amount of powerto the electrical load 1210. The electrical load 1210 may include alighting load or any other type of electrical load. 1018

The control circuit 1204 may illuminate a visual indicator 1218 toprovide feedback to a user. For example, the control circuit 1204 mayblink or strobe the visual indicator 1218 to indicate a fault condition.The control circuit 1204 may be operable to illuminate the visualindicator 1218 different colors to indicator different conditions orstates of the system controller 1200. The visual indicator 1218 may beilluminated by, for example, one or more light-emitting diodes (LEDs).The visual indicator 1218 may be modulated to transmit a visible lightcommunication, as described herein. The system controller 1200 mayinclude more than one visual indicator.

The control circuit 1204 may receive information from the visible lightsensor 1220. The visible light sensor 1220 may detect visible lightcommunications transmitted by other devices, such as a mobile device(e.g., camera flashes, flashes of the display, etc.) or other loadcontrol devices, for example. The visible light sensor 1220 may includea photo sensor, a camera, an infrared (IR) sensor, and/or another devicefor recognizing the visible light communications.

The control circuit 1204 may cause a short-range communication circuit1222 to transmit beacons. The short-range communication circuit maycommunicate beacons via RF communication signals, for example. Thecontrol circuit 1204 may receive audio signals via the microphone 1224.

FIG. 13 is a block diagram illustrating an example beacon device 1300.The beacon device 1300 may be a control-source device, a control-targetdevice, a system controller, and/or a mobile device. The beacon device1300 may include a communication circuit 1302. The communication circuit1302 may include an RF receiver, an RF transceiver, or othercommunication module capable of performing wired and/or wirelesscommunications. The wireless communications may be performed via anantenna 1316.

The communication circuit 1302 may be in communication with a controlcircuit 1304. The control circuit 1304 may include one or more generalpurpose processors, special purpose processors, conventional processors,digital signal processors (DSPs), microprocessors, integrated circuits,a programmable logic device (PLD), application specific integratedcircuits (ASICs), or the like. The control circuit 1304 may performsignal coding, data processing, power control, input/output processing,or any other functionality that enables the beacon device 1300 toperform as described herein.

The control circuit 1304 may store information in and/or retrieveinformation from a memory 1306. The memory 1306 may include anon-removable memory and/or a removable memory. The load control circuit1308 may receive instructions from the control circuit 1304. The controlcircuit 1304 may illuminate a visual indicator 1318 to provide feedbackto a user. For example, the control circuit 1304 may blink or strobe thevisual indicator 1318 to indicate a fault condition. The visualindicator 1318 may be illuminated by, for example, one or morelight-emitting diodes (LEDs). The visual indicator 1318 may be modulatedto transmit a visible light communication, as described herein. Thesystem controller 1300 may include more than one visual indicator.

The control circuit 1304 may receive information from the visible lightsensor 1320. The visible light sensor 1320 may detect visible lightcommunications transmitted by other devices, such as a mobile device(e.g., camera flashes, flashes of the display, etc.) or other loadcontrol devices, for example. The visible light sensor 1320 may includea photo sensor, a camera, an infrared (IR) sensor, and/or another devicefor recognizing the visible light communications.

The control circuit 1304 may cause a short-range communication circuit1322 to transmit beacons. The short-range communication circuit maycommunicate beacons via RF communication signals, for example. Thecontrol circuit 1304 may receive audio signals via the microphone 1324.

Although features and elements are described herein in particularcombinations, each feature or element may be used alone or in anycombination with the other features and elements. Each feature orelement described herein may be configured to be implemented in one ormore control devices and/or network devices described herein. Themethods described herein may be implemented in a computer program,software, or firmware incorporated in a computer-readable medium forexecution by a computer or processor. Examples of computer-readablemedia include electronic signals (transmitted over wired or wirelessconnections) and computer-readable storage media. Examples ofcomputer-readable storage media include, but are not limited to, a readonly memory (ROM), a random access memory (RAM), removable disks, andoptical media such as CD-ROM disks, and digital versatile disks (DVDs).

1. (canceled)
 2. A system controller for controlling an electrical loadvia a load control device, the system controller comprising: acommunication circuit configured to communicate with a mobile device;and a control circuit configured to: receive an identifier from themobile device; determine a location of the mobile device based on theidentifier; determine a location-based control element based on thelocation of the mobile device; send the location-based control elementto the mobile device such that the location-based control element isdisplayed on the mobile device, the location-based control elementconfigured for receiving a user input associated with controlling theelectrical load; receive from the mobile device a message that indicatesthe user input received via the location-based control element; andsend, via the communication circuit, a message to the load controldevice for controlling the electrical load based on the user input. 3.The system controller of claim 2, wherein the identifier identifies alocation of a beacon transmitting device virtually linked to the mobiledevice, and wherein the location of the mobile device is determinedfurther based on the location of the beacon transmitting device.
 4. Thesystem controller of claim 2, wherein the control circuit is furtherconfigured to store the identifier and a location corresponding to theidentifier in a dataset, wherein the location of the mobile device isdetermined using the dataset.
 5. The system controller of claim 2,wherein the mobile device is located in a room, and wherein thelocation-based control element comprises at least one of a name for theroom, a scene associated with the room, or a zone in the room.
 6. Thesystem controller of claim 2, wherein the mobile device is located in aroom, and wherein the location-based control element is associated withat least one of a load control device in the room, an input device inthe room, or the electrical load in the room.
 7. The system controllerof claim 2, wherein the location-based control element is displayed on alock screen of the mobile device.
 8. The system controller of claim 2,wherein the location-based control element comprises a user-selectableslider for receiving the user input that indicates a level at which theelectrical load is controlled.
 9. The system controller of claim 2,wherein location-based control element comprises a button for receivingthe user input that indicates a selection of the location-based controlelement.
 10. The system controller of claim 2, wherein the user inputindicates a selection of the location-based control element, and whereinthe control circuit is configured to: determine to control theelectrical load at a first level based on the selection of thelocation-based control element when the mobile device is determined tobe in a first location, and determine to control the electrical load ata second level different from the first level based on the selection ofthe location-based control element when the mobile device is determinedto be in a second location different from the first location.
 11. Thesystem controller of claim 2, wherein the location-based control elementcomprises a preset, and wherein the control circuit is configured to:determine to control the electrical load at a first level based on aselection of the preset when the mobile device is determined to be in afirst room, and determine to control the electrical load at a secondlevel different from the first level based on the selection of thepreset when the mobile device is determined to be in a second roomdifferent from the first room.
 12. The system controller of claim 2,wherein the communication circuit is used to communicate with the mobiledevice and the load control device via Internet.
 13. A method forcontrolling an electrical load via a load control device, the methodcomprising: receiving an identifier from a mobile device; determining alocation of the mobile device based on the identifier; determining alocation-based control element based on the location of the mobiledevice; sending the location-based control element to the mobile devicesuch that the location-based control element is displayed on the mobiledevice, the location-based control element configured for receiving auser input associated with controlling the electrical load; receivingfrom the mobile device a message that indicates the user input receivedvia the location-based control element; and sending a message to theload control device for controlling the electrical load based on theuser input.
 14. The method of claim 13, wherein the identifieridentifies a location of a beacon transmitting device virtually linkedto the mobile device, and wherein the location of the mobile device isdetermined further based on the location of the beacon transmittingdevice.
 15. The method of claim 13, wherein the mobile device is locatedin a room, and wherein the location-based control element comprises atleast one of a name for the room, a scene associated with the room, or azone in the room.
 16. The method of claim 13, wherein the location-basedcontrol element comprises a user-selectable slider for receiving theuser input that indicates a level at which the electrical load iscontrolled.
 17. The method of claim 13, wherein the location-basedcontrol element comprises a button for receiving the user input thatindicates a selection of the location-based control element.
 18. Themethod of claim 13, wherein the user input indicates a selection of thelocation-based control element, the method further comprising:determining to control the electrical load at a first level based on theselection of the location-based control element when the mobile deviceis determined to be in a first location, and determining to control theelectrical load at a second level different from the first level basedon the selection of the location-based control element when the mobiledevice is determined to be in a second location different from the firstlocation.
 19. A system controller for controlling an electrical load viaa load control device, the system controller comprising: a communicationcircuit configured to communicate with a mobile device; and a controlcircuit configured to: determine a location of the mobile device;determine a location-based control element based on the location of themobile device; send the location-based control element to the mobiledevice such that the location-based control element is displayed on themobile device, the location-based control element configured forreceiving a user input associated with controlling the electrical load;receive from the mobile device a message that indicates the user inputreceived via the location-based control element; and send, via thecommunication circuit, a message to the load control device forcontrolling the electrical load based on the user input.
 20. The systemcontroller of claim 19, wherein the control circuit is furtherconfigured to receive a message from the load control device, themessage comprising a measurement of a signal strength for a signal thatis sent from the mobile device to the load control device, wherein thelocation of the mobile device is determined based on the measurement ofthe signal strength and a location of the load control device.
 21. Thesystem controller of claim 19, wherein the control circuit is furtherconfigured to receive biometric data from a biometric sensing devicefixedly mounted in a location, wherein the location of the mobile deviceis determined based on the biometric data and the location of thebiometric sensing device.